You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 67a8784
Browse filesBrowse the repository at this point in the historyBrowse files
* This is taken from https://github.com/preactjs/preact/blob/main/compat/src/hooks.js#L8-L54
5
-
* which is taken from https://github.com/facebook/react/blob/main/packages/use-sync-external-store/src/useSyncExternalStoreShimClient.js#L84
4
+
* This is taken from https://github.com/preactjs/preact/blob/9903119ede99e949d4c146eb42935ee0008caf7f/compat/src/hooks.js#L8-L54
5
+
* which is taken from https://github.com/facebook/react/blob/9cdf8a99edcfd94d7420835ea663edca04237527/packages/use-sync-external-store/src/useSyncExternalStoreShimClient.js#L84
6
6
* on a high level this cuts out the warnings, ... and attempts a smaller implementation.
7
7
* This way we don't have to import preact/compat with side effects
0 commit comments