Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: useSyncExternalStore #214

Merged
merged 2 commits into from Mar 28, 2022
Merged

RFC: useSyncExternalStore #214

merged 2 commits into from Mar 28, 2022

Conversation

acdlite
Copy link
Member

@acdlite acdlite commented Mar 23, 2022

Introduce a new built-in hook API, useSyncExternalStore, for reading and subscribing from external data sources in a way that's compatible with concurrent rendering features like selective hydration and time slicing.

View formatted RFC

Introduce a new built-in hook API, useSyncExternalStore, for reading and
subscribing from external data sources in a way that's compatible with
concurrent rendering features like selective hydration and time slicing.
@gaearon gaearon merged commit dd61503 into reactjs:main Mar 28, 2022
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants