mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
* move setting memoizedSnapshot * Revert "move setting memoizedSnapshot" This reverts commitf01320689c. * add failed tests * Revert "Revert "move setting memoizedSnapshot"" This reverts commitcb43c4fdc6.
use-sync-external-store
Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.
Until useSyncExternalStore is documented, refer to https://github.com/reactwg/react-18/discussions/86