-
Notifications
You must be signed in to change notification settings - Fork 47.1k
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
Bug: Support ESM for the use-sync-external-store shim #24590
Comments
Related - would it also be possible to provide a UMD build as well? We're looking to use this in the new version of |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
It has a PR, please merge |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
Please stop closing issues with no real resolution. |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
Bump |
React version:
use-sync-external-store 1.0.0, 1.1.0
Steps To Reproduce
Link to code example:
See above code snippet
I was trying to hack around with valtio
and if I do
or in the console
The current behavior
the use-sync-external-store shim does not support esm
The expected behavior
please support esm
additional context
the bug was reported at valtio
pmndrs/valtio#452
An attempt was made to workaround the issue at their end
But the import
>>> var v = await import("https://cdn.skypack.dev/[email protected]")
Still fails on the use-sync-external-store shim.
The text was updated successfully, but these errors were encountered: