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
React Context and useContext is often used to avoid prop drilling,
@@ -45,8 +54,6 @@ To make it work like original React context, it uses
45
54
It also requires `useContextUpdate` to behave better in concurrent rendering.
46
55
Its usage is optional and only required if the default behavior is unexpected.
47
56
48
-
If you need a simpler solution, you can use `useSyncExternalStore` without any libraries. See [an example](https://github.com/dai-shi/use-context-selector/issues/109#issuecomment-1785147682).
0 commit comments