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

Refactor to use React.useSyncExternalStore #136

Open
E-Kuerschner opened this issue Jan 21, 2024 · 0 comments
Open

Refactor to use React.useSyncExternalStore #136

E-Kuerschner opened this issue Jan 21, 2024 · 0 comments

Comments

@E-Kuerschner
Copy link
Owner

E-Kuerschner commented Jan 21, 2024

https://react.dev/reference/react/useSyncExternalStore

I can't find it at this time, but there is a polyfill for older versions of React. Sounds like it is shimmed in v17.

Will need to set strict peer dep version for react package.

Tutorial: https://www.youtube.com/watch?v=GMeQ51MCegI

@E-Kuerschner E-Kuerschner changed the title Refactor to use React.useMutableSource Refactor to use React.useSyncExternalStore Jan 21, 2024
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

No branches or pull requests

1 participant