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

Upgrade to React 18 and useSyncExternalStore #162

Merged
merged 3 commits into from
Aug 11, 2022

Conversation

albertogasparin
Copy link
Collaborator

@albertogasparin albertogasparin commented Mar 18, 2022

  • Move internal subscription mechanism to useSyncExternalStore
  • Deprecate batchUpdates setting (and internal scheduling) as React concurrent handles it out of the box

Fixes #148

  • Update to react and react-dom 18.0.0 stable
  • Update to use-sync-external-store 1.0.0 stable
  • Update to @react-testing-library/react 13.0.0 stable
  • Test on react 16.9.0

@albertogasparin albertogasparin merged commit dba9676 into master Aug 11, 2022
@albertogasparin albertogasparin deleted the feature/react-18 branch August 11, 2022 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Evaluate move to useSyncExternalStore
1 participant