Minsup Lee
15eaeb7aad
chore(docs): fix typo ( #2847 )
2024-11-10 10:42:32 -05:00
Marcin Kulpa
8b9c374565
test: use @vitest/eslint-plugin ( #2845 )
2024-11-10 10:27:01 +09:00
Marcin Kulpa
f689d78a31
test: incorporate eslint-plugin-testing-library and fix reported issues ( #2844 )
2024-11-09 09:46:15 +09:00
ytraddan
9782058029
docs: fix typo in tutorial-tic-tac-toe.md ( #2836 )
2024-11-05 11:30:26 -05:00
ennjin
7fcd59b10d
chore: update third-party-libraries.md ( #2834 )
2024-11-05 16:46:01 +09:00
Danilo Britto
795528efb5
fix(doc): update tutorial guide and fix doc build ( #2835 )
...
* fix(doc): update tutorial guide
* fix(doc): update tutorial guide
2024-11-04 19:43:35 -05:00
Danilo Britto
bf4bcf20c5
chore(docs): update docs content ( #2831 )
...
* chore(docs): update docs content
* chore(docs): update types
* chore: update import types
2024-11-05 09:27:34 +09:00
Marcin Kulpa
dcc4c098ab
test: use screen exposed by React Testing Library ( #2832 )
2024-11-04 13:17:52 +09:00
daishi
c87a5d69ad
5.0.1
v5.0.1
2024-10-30 19:59:43 +08:00
Daishi Kato
1068ff9d7f
chore(deps): update dev dependencies ( #2826 )
2024-10-30 20:58:49 +09:00
Daishi Kato
9525f9264d
fix(shallow): iterable-like insensitive keys order comparison (alternate implementation) ( #2821 )
...
* alternate implementation for shallow
* test with pure iterable
* refactor
* another refactor
---------
Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>
2024-10-30 20:52:43 +09:00
Steven Wexler
dfbed9c6c9
docs: add leo-query to third-party libraries list ( #2824 )
...
Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>
2024-10-28 23:12:31 -05:00
Marcin Kulpa
064be30bcb
test: calculate coverage for src files only ( #2822 )
2024-10-28 16:31:42 +09:00
Daishi Kato
259c19ff2d
fix(shallow): fallback map-like iterator comparison ( #2795 )
...
* add failing test
* add a fallback
2024-10-27 16:38:59 +09:00
Prince Raj
f9b5538402
Update use-store.md ( #2799 )
...
there is a typo mistake while importing the setposition from positionstore
wrong : const setPosition = useStore(positionStore, (state) => state.setPositionStore)
correct : const setPosition = useStore(positionStore, (state) => state.setPosition)
2024-10-18 20:55:13 +09:00
Danilo Britto
cce8d5b22e
chore: fix middleware imports ( #2798 )
2024-10-16 09:12:01 -05:00
daishi
0007ef43a8
remove tag:next packageConfig
2024-10-14 23:19:54 +09:00
daishi
5408e012cc
5.0.0
v5.0.0
2024-10-14 22:55:52 +09:00
Daishi Kato
803d1c8e4f
chore: update dev dependencies ( #2787 )
2024-10-14 22:49:31 +09:00
Danilo Britto
211f108ede
Update docs content ( #2760 )
...
* Update docs content
* Update docs content
* Update docs content
* Update docs content
* Update docs content
* WIP
* WIP
* Update docs content
* Update create.md
* Update create-with-equality-fn.md
* Update create-store.md
* Update use-store.md
* Update use-store-with-equality-fn.md
2024-10-14 20:44:42 +09:00
Martin Petr
055dcdc7e7
Update third-party-libraries.md (add zustand-hash-storage) ( #2785 )
...
* Update third-party-libraries.md
* Update docs/integrations/third-party-libraries.md
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2024-10-12 19:13:09 +09:00
David Sykes
a14af57a85
docs: logo optimization and adding alt ( #2784 )
...
* docs: logo optimization and adding alt
* docs: logo optimization and adding alt
* Update docs/getting-started/introduction.md
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2024-10-12 12:24:42 +09:00
goosewobbler
3362f3b765
docs: add zutron to third-party-libs ( #2781 )
...
* docs: add zutron to third-party-libs
* Update docs/integrations/third-party-libraries.md
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2024-10-11 10:12:47 +09:00
Chafic Najjar
55630cce47
docs: fix typo in use-shallow.md ( #2780 )
2024-10-10 07:08:48 -05:00
Chafic Najjar
eac9dad35b
Fix "previous" and "next" navigation links ( #2777 )
2024-10-08 07:11:45 -05:00
Charles Kornoelje
717f569022
docs: remove State and improve replace typecasting ( #2776 )
2024-10-06 19:32:48 -05:00
Chafic Najjar
17bc89d735
docs: capitalize first word in subtitle ( #2770 )
2024-10-05 16:35:21 +09:00
Daishi Kato
29509885a1
chore: v5 migration docs ( #2769 )
...
* chore: v5 migration docs
* some fixes
2024-10-04 12:02:30 +09:00
DanThemes
976ae9fb16
Update typescript.md ( #2764 )
...
Typo: "That is to say how could **do** we type ..."
2024-10-01 17:41:15 +09:00
David
17b208a91f
docs: fix typo in Prevent rerenders with useShallow section ( #2761 )
2024-09-30 20:56:25 +09:00
Danilo Britto
6b29015c3b
Update docs ( #2756 )
2024-09-25 15:54:32 -05:00
Danilo Britto
8b373dd382
Update createStore api docs ( #2753 )
2024-09-23 08:29:19 -05:00
Daishi Kato
f82f56ddeb
fix(docs): improve v5 migration guide ( #2749 )
...
* fix(docs): improve v5 migration guide
* Update docs/migrations/migrating-to-v5.md
Co-authored-by: Blazej Sewera <code@sewera.dev>
---------
Co-authored-by: Blazej Sewera <code@sewera.dev>
2024-09-22 00:07:52 +09:00
87xie
18c0a3d97d
docs: add plaintext language to code block to prevent layout breaks ( #2745 )
2024-09-18 12:20:38 +09:00
daishi
b93e11681d
5.0.0-rc.2
v5.0.0-rc.2
2024-09-15 12:02:52 +09:00
Daishi Kato
d77974992a
chore(deps): update dev dependencies ( #2743 )
2024-09-15 12:02:18 +09:00
Daishi Kato
c08adc2a47
revert useShallow refactor in #2701 ( #2703 )
2024-09-15 11:19:05 +09:00
Daishi Kato
88ee69f3e1
chore: enable isolatedDeclarations ( #2738 )
2024-09-15 11:13:40 +09:00
MJ Studio
fec9135e33
[Zustand Docs] Add third party library zustand-async-slice ( #2730 )
2024-09-11 10:19:04 +09:00
Danilo Britto
5ebe8606d6
Add getInitialState as part of api utilities ( #2729 )
2024-09-09 23:34:14 -05:00
Danilo Britto
0a4f9d0f71
Add docs for APIs and Hooks ( #2706 )
...
* Add docs for APIs and Hooks
* Minor fixes
* Minor fixes
2024-09-06 12:26:16 -05:00
Ethan Brown
4ec7077de5
docs: corrected example ( #2717 )
...
* docs: made store consistent with examples in "Selecting multiple state slices"
* docs: responded to review comments
* Update readme.md
* run pretiter
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
Co-authored-by: daishi <daishi@axlight.com>
2024-09-03 08:50:04 +09:00
Antoine BERNIER
9e8b7a5eea
chore: using pmndrs/docs v2
2024-08-29 09:28:36 +02:00
Antoine BERNIER
7c36942261
relative images as much as possible ( #2710 )
2024-08-28 20:29:14 +09:00
Tibinko
c0cd364b8f
docs: typo in typescript docs ( #2708 )
2024-08-28 09:44:04 +09:00
daishi
eea0664268
5.0.0-rc.1
v5.0.0-rc.1
2024-08-27 10:19:58 +09:00
Daishi Kato
08aadaffc1
chore(deps): update dev dependencies ( #2702 )
...
* chore(deps): update dev dependencies
* typescript vers
2024-08-27 10:19:40 +09:00
Daishi Kato
2cadf6511d
refactor useShallow ( #2701 )
2024-08-27 10:13:01 +09:00
Christian van der Loo
d7345da7cf
Fix Immer type inference for setState ( #2696 )
...
* fix(immer): tweak type inference to base `setState` type off of store `setState` instead of `getState`
* fix(immer): instead, infer type directly from StoreApi<T>["setState"]
* fix(immer): instead of using `StoreApi`, extract from A2 the non-functional component of state
* docs: add comment describing why it is not derived from `A1`
* test: add example middleware that modifies getState w/o setState
* fix: add assertion for inner `set` and `get` types
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2024-08-27 10:10:47 +09:00
Daishi Kato
42bbfcfb6b
chore(docs): third-pary libs ( #2699 )
2024-08-26 21:17:00 +09:00