Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

docs: simplify and collapse render props into <details> #347

Merged
merged 2 commits into from
Apr 11, 2020

Conversation

atomiks
Copy link
Collaborator

@atomiks atomiks commented Apr 10, 2020

I've put the Render Props API into a collapsible element to make reading the docs easier. Hooks will be what 99% of new users will be using, and the Render Props API just adds noise.

I've mentioned that it's a legacy API for v1.x users moving to Popper v2 and shouldn't be used in new code, and perhaps we will remove it entirely in v3. Up to @FezVrasta of course!

@FezVrasta FezVrasta merged commit 8a034c6 into floating-ui:master Apr 11, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants