• Robert Knight's avatar
    Document a hazard with `useStore` and hook that have dependencies · 87828691
    Robert Knight authored
    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.
    87828691
use-store.js 5.44 KB