72 Commits

Author SHA1 Message Date
csark0812
c3dceea0e1
Add zustand-expo-devtools to third-party middleware list (#3135)
* Add zustand-expo-devtools to third-party middleware list

Wrote a dev plugin that allows for full connection between zustand state and redux devtools!

* ordered alphabetically
2025-05-25 22:49:21 +09:00
Danilo Britto
36627acb60
Update persisting-store-data.md (#3110) 2025-05-06 14:32:23 -05:00
goosewobbler
3089fdc435
docs: remove zutron, add zubridge (#3047)
* docs: remove zutron, add zubridge

* docs: fix formatting
2025-03-12 21:54:00 +09: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
Daniil Chervyakov
c3287fa89d
docs: fix typo in type (#3001) 2025-02-07 12:54:54 +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
Ziad Beyens
adf084f85b
docs (#2958) 2025-01-15 18:33:23 +09:00
ennjin
7fcd59b10d
chore: update third-party-libraries.md (#2834) 2024-11-05 16:46:01 +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
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
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
eac9dad35b
Fix "previous" and "next" navigation links (#2777) 2024-10-08 07:11:45 -05:00
MJ Studio
fec9135e33
[Zustand Docs] Add third party library zustand-async-slice (#2730) 2024-09-11 10:19:04 +09:00
Daishi Kato
42bbfcfb6b
chore(docs): third-pary libs (#2699) 2024-08-26 21:17:00 +09:00
melutovich
23086be4ad
Persist documentation for Map & Set add storage and retrieval of version (#2692)
* Persist documentation for Map & Set add storage and retrieval of version

--HG--
branch : discussion-2689-persist-doc-map-and-set-missing-version

* Persist documentation for Map & set improve getItem to include version only when present by way of spread operator on existingValue

--HG--
branch : discussion-2689-persist-doc-map-and-set-missing-version
2024-08-21 08:52:45 +09:00
sagiereder
69112dcfff
Adding zustand-boilerplate to third-party-libraries (#2673)
* Adding zustand-boilerplate to third-party-libraries

Hi, 
I'm the maker of zustand-boilerplate. It's a small utility that generates getters, setters based on a class representing a zustand store. I'd like to add it to the list of 3rd party libraries to let people know. I've attached an example:

```
import { create } from "zustand"
import * as Z from "zustand-boilerplate"

interface Bear {
  name: string
}

class BearStore {
  @Z.Boolean()
  isDangerous = false

  @Z.Number()
  count = 0

  @Z.Array()
  bears: Bear[] = []

  //
  // Notice you have to set a default value and apply the decorator
  // to properties for generated actions to work
  //
  @Z.Any()
  mainBear: Bear | undefined = undefined

  @Z.String()
  userName: string | undefined = undefined
}

const bearStoreWithActions = Z.generateStoreWithActions(BearStore)

export const store = create(bearStoreWithActions)

// The following will automatically work now (fully typed)
// store.getState().getBears() -> Bear[]
// store.getState().setBears(bears)
// ...
```

* chore: a-z ordering
2024-08-19 10:20:23 +09:00
Jesper Sørensen
2875d0717d
Fix store-persistence example (#2667) 2024-08-07 19:27:01 -05:00
donutcube
e13777495a
Update persisting-store-data.md (#2650) 2024-07-18 09:03:29 +09:00
yash chauhan
0bdf95f0c8
doc: Added zustand-interval-persist to third party (#2636)
* doc:  Added zustand-interval-persist to third party

* doc: added zustand-interval-persist to third party in alphabetical order.

* doc: re-arranged zustand-interval-persist order, zundo and zukeeper
2024-07-09 07:48:40 +09:00
Yasin
b1648f7ea2
doc: added zustand-computed-state to external libraries (#2598) 2024-06-13 16:45:05 +09:00
Mayank
7c156014bc
doc: added treeshakable to external libraries (#2595)
* doc: added treeshakable to external libraries

* format with prettier
2024-06-10 20:43:30 +09:00
Juliette Lamarche
97d112ce54
docs: add @prncss-xyz/zustand-optics to third party libraries (#2564)
* docs: add @prncss-xyz/zustand-optics to third party libraries

* fix: typo

sorry!
2024-05-21 08:00:13 +09:00
✦ freddie
e74fdc8bc9
docs: add zustand-context to third party libs (#2525)
* docs: add zustand-context to third party libs

* docs: typo

* docs: sort alphabetically
2024-05-01 23:06:17 +09:00
Daishi Kato
bdd104a97d
docs: add zustand-slices (#2494) 2024-04-19 04:15:13 -05:00
Dawid
fc2f85afff
Update third-party-libraries.md (#2435)
* Update third-party-libraries.md

* docs: order davstack store link alphabetically

* docs: add link to 3rd party autogenerated selectors library

* Update docs/integrations/third-party-libraries.md

change the dash

Co-authored-by: Blazej Sewera <code@sewera.dev>

---------

Co-authored-by: Blazej Sewera <code@sewera.dev>
2024-03-27 08:54:37 +09:00
Charles Kornoelje
27bffb1fba
docs(persist): add info about createJSONStorage helpful function (#2299)
* first pass at docs

* add jump-to-section
2024-01-20 14:17:05 +09:00
Jaekook Brian Lee
517524d2b0
Adding Zusty (zustand dev tool) to the third party libraries (#2267)
* Update third-party-libraries.md

Adding zustand dev tool made by oslabs to the third party libraries.

* Update third-party-libraries.md

changed to alphabetical order

* Update third-party-libraries.md

formatted with prettier/which got rid of the extra space on line 17
2023-12-22 09:15:44 +09:00
Charles Kornoelje
41838c5187
chore(docs): rewrite to remove deprecated references in persist docs (#2248)
* chore(docs): rewrite to remove deprecated references in persist docs

* chore(docs): remove deprecated equalityFn
2023-12-14 08:05:20 +09:00
Younghoo Kim
662f38a8c3
docs(immer): change demo url (#2239) 2023-12-11 21:34:35 +09:00
Daishi Kato
9857a676a9
refactor: revisit prettier config to be minimal (#2193) 2023-11-14 12:19:51 +09:00
권신학
492637a880
docs: update documentation of persist (#2147)
* docs: update documentation of persist

Add superjson serialization/deserialization example to Zustand persist documentation

* docs: fix spelling documentation of persist

* docs: Apply feedback by moving content under custom storage engine and specifying that the code is an example

* docs: Update variable name to example name and separate storage as const
2023-11-01 10:35:03 +09:00
Bram Van der Sype
643bb7ab11
Improve types in Immer middleware docs (#2139)
* Having the generic type on `immer` makes you lose introspection in IDE's.

* Add note about parenthesis and link back to typescript guide.
2023-10-23 08:44:10 +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
Aykut Kardaş
5493959646
docs: update persisting-store-data.md (#1993) 2023-08-15 08:30:19 +09:00
Itay
c5e7c30660
avoid 'any' errors and make example clearer (#1957) 2023-07-26 16:29:17 +09:00
Surya Vivek
58947a5bf9
docs: fix typo 'with be' to 'will be' (#1906) 2023-06-30 09:03:15 +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
Romain
3a365a0804
docs: added a new third party lib (#1843)
* docs: added a new third party lib

* chore: prettier
2023-06-07 16:53:44 +09:00
Dmitri Cusnir
eb5ec74c3d
Update third-party-libraries.md (#1827)
rename npm package zustand-fetching -> leiten-zustand
2023-05-27 07:50:02 +09:00
203X
ac4ec46bd6
fix useHydration hook (#1826)
The initialization type of `useState` is incorrect. hydrated needs to be of boolean type, whereas the original `useBoundStore.persist.hasHydrated` is a function. This will lead to errors, such as during the static build of frameworks like Next.js.
2023-05-27 07:49:28 +09:00
Dmitri Cusnir
8cb150ae8a
Update third-party-libraries.md (#1816)
* Update third-party-libraries.md

* Update docs/integrations/third-party-libraries.md

Co-authored-by: Blazej Sewera <code@sewera.dev>

* Update third-party-libraries.md

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-05-22 19:31:40 +09:00
Nipodemos
65d2bc0660
Add section for usage of persist middleware with NextJS (#1782)
* Add section for usage of persist middleware with NextJS

I have spent the last 1h30m trying to find the solution for `Hydration failed because the initial UI does not match what was rendered on the server` and after digging a lot I found the solution.
So i thought: Maybe this could be on official documentation!
So I made it. It's just copy and paste but at least it will be easier for future folks trying to solve the same problem

* ran yarn prettier

* fix typos

* Update docs/integrations/persisting-store-data.md

Co-authored-by: Blazej Sewera <code@sewera.dev>

* splitting long lines into smaller ones

following the suggestion of PR

* commit suggestion of changes in PR

Co-authored-by: Blazej Sewera <code@sewera.dev>

* commit suggestion of changes in PR

Co-authored-by: Blazej Sewera <code@sewera.dev>

* commit suggestion of changes in PR

Co-authored-by: Blazej Sewera <code@sewera.dev>

* commit suggestion of changes in PR

Co-authored-by: Blazej Sewera <code@sewera.dev>

* applying changes requested in PR

---------

Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-05-08 08:25:00 +09:00
Arvin Xu
a999f7ac04
docs: fix document error of persist with hydration (#1758)
* docs: fix document error of persist with hydration

* Update persisting-store-data.md

* Apply suggestions from code review

Co-authored-by: Blazej Sewera <code@sewera.dev>

* Update persisting-store-data.md

---------

Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-04-18 18:49:56 +09:00
George Manning
38c905564c
feat(middleware/persist): add skip hydration option #405 (#1647)
* add manual hydration option to persist middleware

* rename variable, update jsdoc, remove from oldImpl

* add tests for persist skipHydration

* add docs

* Update docs/integrations/persisting-store-data.md

Co-authored-by: Blazej Sewera <code@sewera.dev>

* Update docs/integrations/persisting-store-data.md

Co-authored-by: Blazej Sewera <code@sewera.dev>

* Update src/middleware/persist.ts

---------

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
Co-authored-by: Blazej Sewera <code@sewera.dev>
2023-03-31 20:20:16 +09:00
Kevin Jiang
0ee21f8dbc
Update imports (#1674) 2023-03-04 19:44:36 +09:00
Chris Olmsted
5b8abb2f70
docs: added 'zukeeper' to integrations/third-party-libraries (#1670) 2023-03-02 09:45:08 +09:00
Blazej Sewera
fbfcdc54e6
fix(docs): resolve different section linking behavior with special characters (#1640) 2023-02-17 21:36:52 +09:00