mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
Fix migrating to v5 doc (#2874)
Replace middlware with middleware in md file
This commit is contained in:
parent
9281ec1990
commit
3a7a7fb221
@ -190,7 +190,7 @@ const args = [{ bears: 5 }, replaceFlag] as Parameters<
|
||||
store.setState(...args)
|
||||
```
|
||||
|
||||
#### Persist middlware no longer stores item at store creation
|
||||
#### Persist middleware no longer stores item at store creation
|
||||
|
||||
Previously, the `persist` middleware stored the initial state during store creation. This behavior has been removed in v5 (and v4.5.5).
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user