mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
* feat: add useShallow See - https://github.com/pmndrs/zustand/discussions/1937 - https://github.com/pmndrs/zustand/discussions/1937#discussioncomment-7118242 - https://github.com/pmndrs/zustand/discussions/1937#discussioncomment-6974554 * chore(useShallow): improve unit tests * chore(useShallow): PR feedback https://github.com/pmndrs/zustand/pull/2090#discussion_r1341963105 * fix(useShallow): tests not working on test_matrix (cjs, production, CI-MATRIX-NOSKIP) * chore(useShallow): fix eslint warning issue (unused import) * refactor(useShallow): simplify tests * docs(useShallow): add guide * fix(useShallow): prettier:ci error https://github.com/pmndrs/zustand/actions/runs/6369420511/job/17289749161?pr=2090 * docs(useShallow): update readme * docs(useShallow): remove obsolete line from readme Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com> * doc(useShallow): PR feedback https://github.com/pmndrs/zustand/pull/2090#discussion_r1342120701 * docs(useShallow): small improvements of the useShallow guide --------- Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>