Skip to content

Commit

Permalink
Fix migrating to v5 doc (#2874)
Browse files Browse the repository at this point in the history
Replace middlware with middleware in md file
  • Loading branch information
marcoamt authored Nov 29, 2024
1 parent 9281ec1 commit 3a7a7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/migrations/migrating-to-v5.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 3a7a7fb

Please sign in to comment.