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
This package allows sharing data between components with hooks. In many cases leads to more simple implementation compared to Context API.
7
-
`createSharedState` creates a hook very similar to `useState` but with sync state across the application. Setting a value in one component will result re-rendering every component which uses the same hook.
7
+
`createSharedState` creates a hook very similar to `useState` but with sync state across hook instances. Setting a value in one component will result re-rendering every component which uses the same hook.
0 commit comments