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

Support React 16/17 (possibly with seperate package) #26

Open
NotWoods opened this issue Dec 11, 2023 · 1 comment
Open

Support React 16/17 (possibly with seperate package) #26

NotWoods opened this issue Dec 11, 2023 · 1 comment

Comments

@NotWoods
Copy link

Lots of companies (such as Microsoft) are slower to migrate to React 18. We can't use nanostores right now because React 17 isn't supported.

It would be great if the package supported React 17, possibly using the useSyncExternalStore shim. Since this would affect package size, it could be published as a separate package like @nanostores/react-17. The shim supports React 16 as well!

@hemandev
Copy link

We, too, have a similar use case here. We are using nanostores as part of our library. It would be great if we could support older versions of react.

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

2 participants