Document a hazard with `useStore` and hook that have dependencies
Note a hazard with using the store wrapper returned by `useStore` with hooks that have dependencies, such as `useMemo`. I believe it should be possible to eliminate this hazard with some API changes, but this will require some experimentation. For the moment, document the issue and a recommended workaround.
Showing
Please register or sign in to comment