Fix migrating to v5 doc (#2874)

Replace middlware with middleware in md file
This commit is contained in:
marcomendoza 2024-11-29 02:49:39 +01:00 committed by GitHub
parent 9281ec1990
commit 3a7a7fb221
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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).