Chafic Najjar
|
eac9dad35b
|
Fix "previous" and "next" navigation links (#2777)
|
2024-10-08 07:11:45 -05:00 |
|
David
|
17b208a91f
|
docs: fix typo in Prevent rerenders with useShallow section (#2761)
|
2024-09-30 20:56:25 +09:00 |
|
Carsten Dietzel
|
827d5aacaf
|
Fix typo in prevent-rerenders-with-use-shallow.md (#2364)
|
2024-02-29 00:08:07 +09:00 |
|
Danilo Britto
|
e414f7ccf4
|
fix(shallow): Extract shallow vanilla and react (#2097)
* Update readmes
* Splitting shallow in two modules
* Update tests
* Minor changes
* Minor changes
* Rename shadow.tests.tsx to shallow.test.tsx
* Add new entrypoint for shallow/react
* Update structure
* Update shallow to export from vanilla and react
* Add vanilla/shallow and react/shallow entrypoints
* Update tests
* Update readmes
* Update src/shallow.ts
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
* Minor changes
* Update readmes
* Update readmes
* Update tests
* Minor changes
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
|
2023-10-05 23:04:56 +09:00 |
|
Fabrizio Vitale
|
3cbd468fe5
|
feat: add useShallow (#2090)
* 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>
|
2023-10-02 22:13:13 +09:00 |
|