fix(store): dependency array in useSlice #30

Merged
torstein merged 2 commits from fix/useStore-dependency-array into main 2026-08-06 09:52:09 +00:00
Owner

useSlice used an empty dependency array in its inner useEffect. This would lead to stale slice when the selector or compare function changed.

useSlice used an empty dependency array in its inner useEffect. This would lead to stale slice when the selector or compare function changed.
torstein deleted branch fix/useStore-dependency-array 2026-08-06 09:52:09 +00:00
Sign in to join this conversation.
No description provided.