253 Commits

Author SHA1 Message Date
Shashikant Yadav
681036c319
Update introduction.md (#3045) 2025-03-12 06:28:00 -05:00
조우혁
9ba6a63799
docs: fix typos (#3042) 2025-03-09 19:10:53 -05:00
Koo Sangmo
a90981afb5
docs: update vitest config to match vitest docs (#3037)
* Update testing.md

in vite,
mergeConfig accepts only config in object form. If you have a config in callback form, you should call it before passing into mergeConfig.

You can use the defineConfig helper to merge a config in callback form with another config:

https://vite.dev/guide/api-javascript.html#mergeconfig

* Fix formatting

---------

Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>
2025-03-03 07:46:37 -05:00
Gabriel Saunders
bc60812e33
docs: added zustand-namespaces to 3rd party (#3028) 2025-02-24 17:14:19 +09:00
Gabriel Saunders
718c846c03
docs: added zustand-multi-persist to 3rd party (#3011) 2025-02-15 14:37:22 +09:00
Paul Schoen
abc51900c9
doc: Added use-post-message-ts to third party (#3008) 2025-02-13 12:08:07 +09:00
Loco
67371154ed
Update use-shallow.md (#3004) 2025-02-10 06:53:49 -05:00
Mohit Tokas
57608bbbdf
Update nextjs.md (#2998)
* Update nextjs.md

add mandatory argument for useRef

* Update testing.md

added initialValue for useRef
2025-02-08 20:49:57 +09:00
Andrii Oriekhov
c96cf83663
fix devtools example (#3002) 2025-02-08 08:28:39 +09:00
Daniil Chervyakov
c3287fa89d
docs: fix typo in type (#3001) 2025-02-07 12:54:54 +09:00
이선재
65402b01d6
docs: Remove unnecessary void operator (#2994) 2025-02-04 19:37:36 +09:00
sidahmedabdelillah
bc3e94e991
fixed error in persist example and added typescript (#2978)
* fixed error in persist example and added typescript

* chore: formatted code

---------

Co-authored-by: sidahmedabdelillah <s_bentegar@gmail.com>
2025-01-28 07:59:26 -05:00
Danilo Britto
ef0c619fac
chore(docs): update tutorial tic tac toe (#2969)
* chore(docs): update tutorial tic tac toe

* chore(docs): update tutorial tic tac toe

* chore(docs): minor changes
2025-01-21 11:06:48 -05:00
SAMIR HEMBROM
37e1e3f193
docs(tutorial-tic-tac-toe.md): fix code to prevent infinite loops (#2963) 2025-01-16 22:45:58 +09:00
Ziad Beyens
adf084f85b
docs (#2958) 2025-01-15 18:33:23 +09:00
HoberMin
2fbb477508
docs(create-with-equality-fn.md): fix typos in event handler type definitions (#2947) 2025-01-08 07:49:47 -05:00
Mordechai Dror
d2ac8205ec
feat(types): Make ExtractState public (#2935)
* make ExtractState public and move it to vanilla

* add docs on the matter

* Update vanilla.ts

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2025-01-07 22:57:18 +09:00
HoberMin
929b547054
docs(create-store.md): fix incorrect usage of create function in example (#2940) 2025-01-07 09:14:08 +09:00
HoberMin
efaf416de4
docs(create.md): fix state selector syntax in troubleshooting example (#2938) 2025-01-06 07:14:27 -05:00
𝑾𝒖𝒙𝒉
a958de910f
docs: typo & improve (#2891)
* chore: typo

* docs: update
2024-12-10 08:48:39 -05:00
Atticus White
19cb8797bd
Update devtools.md (#2883) 2024-12-06 14:53:22 +09:00
daishi
5ed67ec1a9 chore: remove single quote 2024-11-29 22:26:26 +09:00
marcomendoza
3a7a7fb221
Fix migrating to v5 doc (#2874)
Replace middlware with middleware in md file
2024-11-29 10:49:39 +09:00
Alexander Mordvinov
9281ec1990
fix hydrateRoot args order (#2869) 2024-11-26 16:45:35 -05:00
Facundo J Gonzalez
f540ca8294
chore(docs): Fix the link to devtools (#2861) 2024-11-21 09:14:02 +09:00
Charles Kornoelje
7980a7b9cb
match the typescript docs (#2856) 2024-11-18 08:28:55 +09:00
Minsup Lee
15eaeb7aad
chore(docs): fix typo (#2847) 2024-11-10 10:42:32 -05: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
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
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
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
MJ Studio
fec9135e33
[Zustand Docs] Add third party library zustand-async-slice (#2730) 2024-09-11 10:19:04 +09:00