stavkamil
8e8156f142
docs: change titles in order to avoid duplicate hrefs ( #2071 )
2023-09-22 12:53:00 +09:00
Ivan Quirino
deba6ed0d0
fix(docs): Update usage without React on recipes.mdx ( #2047 )
...
* Update usage without React on recipes.mdx
Makes recipes.mdx usage without React inline with the readme.md description, because the current recipes.mdx usage is deprecated
* Update docs/recipes/recipes.mdx
Change copy
Co-authored-by: Blazej Sewera <code@sewera.dev>
* remove empty line on recipes.mdx
---------
Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-09-14 10:03:20 +09:00
Danilo Britto
f3a0fd802b
Update slices-pattern.md ( #2046 )
...
* Update slices-pattern.md
* Update typescript.md
* Fix format
* Update typescript.md
Co-authored-by: Blazej Sewera <code@sewera.dev>
* Update typescript.md
Co-authored-by: Blazej Sewera <code@sewera.dev>
---------
Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-09-12 21:30:08 +09:00
Daishi Kato
db76eba813
fix(docs): zustand v3 context migration doc ( #2039 )
...
* fix(docs): zustand v3 context migration doc
* Update docs/previous-versions/zustand-v3-create-context.md
Co-authored-by: Blazej Sewera <code@sewera.dev>
* Update docs/previous-versions/zustand-v3-create-context.md
Co-authored-by: Blazej Sewera <code@sewera.dev>
* Update docs/previous-versions/zustand-v3-create-context.md
Co-authored-by: Blazej Sewera <code@sewera.dev>
---------
Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-09-11 18:42:55 +09:00
Mayank
504aa40e0d
upgrade @react-three/fiber ( #2042 )
...
* Ignored pnpm-lock.yaml as discussed here -
https://github.com/pmndrs/zustand/discussions/2014#discussioncomment-6837085
* fix: upgrade @react-three/fiber from 8.13.5 to 8.13.7
Snyk has created this PR to upgrade @react-three/fiber from 8.13.5 to 8.13.7.
See this package in npm:
See this project in Snyk:
https://app.snyk.io/org/mayank1513/project/d7dd1e78-71d1-4d81-8173-d307d8d0eea9?utm_source=github&utm_medium=referral&page=upgrade-pr
---------
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2023-09-11 12:44:18 +09:00
Mayank
dc32aee6f6
upgrade @types/tree ( #2043 )
...
* Ignored pnpm-lock.yaml as discussed here -
https://github.com/pmndrs/zustand/discussions/2014#discussioncomment-6837085
* fix: upgrade @types/three from 0.154.0 to 0.155.0
Snyk has created this PR to upgrade @types/three from 0.154.0 to 0.155.0.
See this package in npm:
See this project in Snyk:
https://app.snyk.io/org/mayank1513/project/d7dd1e78-71d1-4d81-8173-d307d8d0eea9?utm_source=github&utm_medium=referral&page=upgrade-pr
---------
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2023-09-11 11:55:18 +09:00
Oshri Asulin
266e8641b2
fix: added 'create' and 'shallow' imports to docs ( #2028 )
...
* add missing import, change name store, change the func in app to two variables
* Update docs/guides/updating-state.md
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2023-09-10 09:13:56 +09:00
Tmk
5062de1310
chore: fix ide complaints ( #2032 )
2023-09-08 09:58:48 +09:00
Frederik De Bleser
0ab1c0a974
fix(docs): Fix Immer import ( #2029 )
...
* Fix Immer import
The `produce` function is a named export, not a default export:
https://immerjs.github.io/immer/produce
* Fix other references to "produce" as well.
2023-09-07 08:12:20 +09:00
Danilo Britto
b8b5b636ce
Update jest codesandbox demo ( #2022 )
2023-09-02 08:51:06 +09:00
Mayank
b36dbf9d33
Add third party library ( #2010 )
...
* Add third party library
* added GitHub
* Update docs/integrations/third-party-libraries.md
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
* Update docs/integrations/third-party-libraries.md
Co-authored-by: Blazej Sewera <code@sewera.dev>
* Update docs/integrations/third-party-libraries.md
Thanks!
Co-authored-by: Blazej Sewera <code@sewera.dev>
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-08-29 07:27:58 +09:00
Mayank
4930c1e43c
Persist and sync ( #2011 )
...
* Add third party library under integrations
- [persist-and-sync](https://www.npmjs.com/package/persist-and-sync ) - Zustand middleware to easily persist and
sync Zustand state between tabs / windows / iframes (SameOrigin)
* update gitignore to ignore pnpm-lock.yaml
* Comment response
- ignore only pnpm-lock
- add GitHub repo
* Undo changes to .gitignore
* update as per suggestion on another PR
+ add bungle size badge
* Update docs/integrations/third-party-libraries.md
Sure!
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
* Update third-party-libraries.md
Improve wordings as requested
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2023-08-28 15:51:15 +09:00
Mayank
6a41dd8361
Ignored pnpm-lock.yaml as discussed here - ( #2015 )
...
https://github.com/pmndrs/zustand/discussions/2014#discussioncomment-6837085
2023-08-28 10:37:33 +09:00
Danilo Britto
862c7bdd0f
Update testing docs ( #2008 )
...
* Update testing docs
* Minor fixes
* Minor fixes
* Update testing.md
2023-08-27 10:21:20 +09:00
John Gilliland
9ddfced2ea
docs: Update typescript guide persist examples... ( #2001 )
...
* docs: Update typescript guide persist examples to add required name option
* docs: run prettier
* docs: reverting prettier changes to testing.md
* docs: Update docs/guides/typescript.md per review comment.
Co-authored-by: Blazej Sewera <code@sewera.dev>
* docs: Update docs/guides/typescript.md per review comment and zustand conventions.
Co-authored-by: Blazej Sewera <code@sewera.dev>
* docs: change persist options name property to bearStore for consistency.
---------
Co-authored-by: John Gilliland <John.Gilliland@Starz.com>
Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-08-25 16:54:04 +09:00
Michel Sabchuk
0058a03b78
fix(docs): Do not recommend deprecated useStore + equalityFn on initialize with props docs ( #1997 )
...
* Do not recommend deprecated useStore + equalityFn
* Show alternative without equality function
* Adjust content to be more clear
* Update docs/guides/initialize-state-with-props.md
Co-authored-by: Blazej Sewera <code@sewera.dev>
* Apply prettier
---------
Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-08-17 08:16:19 +09:00
Aykut Kardaş
5493959646
docs: update persisting-store-data.md ( #1993 )
2023-08-15 08:30:19 +09:00
Daishi Kato
49d43b7ddd
fix(readme): description with createWithEqualityFn ( #1985 )
...
* fix(readme): description with createWithEqualityFn
* fix wording
---------
Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-08-12 19:04:46 +09:00
daishi
0426978490
4.4.1
v4.4.1
2023-08-07 08:41:49 +09:00
Daishi Kato
29e1820784
chore(deps): update dev dependencies ( #1981 )
2023-08-07 08:41:21 +09:00
Daishi Kato
a10dd1c669
fix: improve warning for deprecated equalityFn ( #1976 )
...
* fix: improve warning for deprecated equalityFn
* fix tsc error
2023-08-07 08:26:50 +09:00
Daishi Kato
1a9b309844
fix(types): accept undefined equalityFn for the deprecated useStore ( #1972 )
2023-08-07 08:24:29 +09:00
Juhyeok Kang
19d3df22a6
docs: fix typo ( #1969 )
2023-08-03 08:40:20 +09:00
daishi
2778e71c84
4.4.0
v4.4.0
2023-08-01 10:46:16 +09:00
Daishi Kato
5777a65cf5
chore(deps): update dev dependencies ( #1965 )
2023-08-01 10:42:18 +09:00
leviosa-e
a2ad770903
fix: declare @types/react as peerDep to avoid phantom dep ( #1963 )
2023-08-01 10:15:28 +09:00
Daishi Kato
c6900a4562
feat: deprecate equalityFn and add createWithEqualityFn ( #1945 )
...
* feat: deprecate equalityFn and add createWithEqualityFn
* add link to deprecation message
2023-08-01 10:15:09 +09:00
Tiago Bento
6d9c0cff0d
Fix slices-pattern.md link on flux-inspired-practice.md ( #1962 )
2023-07-28 09:39:58 +09:00
cwtuan
43791eb8dc
add usage trends in readme.md ( #1953 )
...
* add usage trends in readme.md
* usage trend of zustand
* Update link
* Update comparison.md
add link to npm trend
* Update comparison.md
* fix: ci
---------
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2023-07-27 21:16:08 +09:00
Itay
c5e7c30660
avoid 'any' errors and make example clearer ( #1957 )
2023-07-26 16:29:17 +09:00
—
f11cc7f37a
example: correct entry index.html
2023-07-16 15:58:51 +02:00
—
8194bdf41a
example: favicon & manifest
2023-07-16 15:54:25 +02:00
—
1c660b4de3
example: clean up styles
2023-07-16 15:45:00 +02:00
—
307c025066
examples: fix prettier / lint
2023-07-16 14:54:03 +02:00
—
47649176e0
update example, move to vite
2023-07-16 14:46:05 +02:00
Tuan Anh
642b0bc055
fix doc typo ( #1932 )
...
Co-authored-by: anhdoecourier <tdo@e-courier.com>
2023-07-15 15:18:44 +09:00
Mohammed 'Mo' Mulazada
f73736d59a
improve docs readability ( #1931 )
...
* make codeblock easier to understand
* add explanation to what mock does
* add info block
* rewrite typescript section
* Update typescript.md
* Update docs/guides/testing.md
Co-authored-by: Blazej Sewera <code@sewera.dev>
* prefix with >
---------
Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-07-13 18:01:47 +09:00
Luiz Felicio
808a72225e
docs(auto-generating-selectors): Add vanilla store variant ( #1915 )
...
* Add variant for vanilla stores
* Update text tone and style
Co-authored-by: Blazej Sewera <code@sewera.dev>
* Adjust code style to match zustand's one
* Run prettier
---------
Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-07-05 08:38:35 +09:00
daishi
ea40986e46
4.3.9
v4.3.9
2023-07-04 23:37:13 +09:00
Daishi Kato
16cafcaeaf
chore(deps): update dev dependencies ( #1919 )
2023-07-04 23:36:23 +09:00
Daishi Kato
f0d9d984bd
fix(build): mode env for "import" condition" ( #1845 )
...
* fix(build): mode env for "import" condition"
* another way
* yet another way
2023-07-04 22:40:31 +09:00
Dipankar Roy
1a92e94d0a
📝 Fixed some grammar and punctuation ( #1913 )
...
* 📝 Fixed some typos
* Update readme.md
Co-authored-by: Blazej Sewera <code@sewera.dev>
* Update readme.md
---------
Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-07-04 08:50:44 +09:00
Surya Vivek
58947a5bf9
docs: fix typo 'with be' to 'will be' ( #1906 )
2023-06-30 09:03:15 +09:00
Choi Hyunjin
d4e5aed00a
docs(readme): modify usage of Redux devtools ( #1903 )
2023-06-29 18:04:25 +09:00
Danilo Britto
1b557cba07
Testing docs minor fixes ( #1898 )
...
* Minor fixes
* Update testing.md
* Update testing.md
2023-06-28 08:07:11 +09:00
Lars Artmann
3584d5075a
Update comment //store.ts to //store.tsx in zustand-v3-create-context.md ( #1893 )
2023-06-23 16:18:09 +09:00
Danilo Britto
9333eb629c
Improve testing docs ( #1875 )
...
* Update testing docs (wip)
* WIP
* WIP
* Update testing docs
* Minor updates
2023-06-23 07:58:13 +09:00
Kiku
7276b531bc
docs: correct import alias syntax ( #1889 )
2023-06-21 20:01:30 +09:00
Chris K
e8597ae77f
docs: refine flux inspired docs to make pattern inspiration clearer ( #1874 )
...
* docs: refine flux inspired docs to make pattern inspiration clearer
* docs: remove the immutable note in the flux inspired docs
2023-06-18 11:42:01 +09:00
Ivo Ilić
a53433543c
Added zustand-ards to the third-party libraries list ( #1856 )
...
* Added zustand-ards to the third-party libraries list
* Update third-party-libraries.md
2023-06-11 06:55:37 +09:00