react/packages/use-sync-external-store
Sebastian Silbermann 6b28bc9c5a
test: Throw custom error instead of relying on runtime error (#24946)
2022-07-21 15:46:57 -04:00
..
npm Upgrade useSyncExternalStore to alpha channel (#22662) 2021-10-31 15:38:03 -07:00
shim Upgrade useSyncExternalStore to alpha channel (#22662) 2021-10-31 15:38:03 -07:00
src test: Throw custom error instead of relying on runtime error (#24946) 2022-07-21 15:46:57 -04:00
README.md Update some READMEs (#24290) 2022-04-07 02:35:01 +01:00
index.js Upgrade useSyncExternalStore to alpha channel (#22662) 2021-10-31 15:38:03 -07:00
package.json bump versions for next release (#24725) 2022-06-14 13:24:00 -07:00
with-selector.js Upgrade useSyncExternalStore to alpha channel (#22662) 2021-10-31 15:38:03 -07:00

README.md

use-sync-external-store

Backwards-compatible shim for React.useSyncExternalStore. Works with any React that supports Hooks.

See also https://github.com/reactwg/react-18/discussions/86.