Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita36a41b

Browse files
committed
(docs): note redux-persist's Storage Engines compatibility
- redux-persist's Storage Engines all follow the same localForage-style async Promise API, so they should all be compatible with mst-persist as well - docs should mention this as the interoperability adds many more usage options for developers - e.g. using node-storage or cookie-storage for Node or universal apps, which should now work without bugs
1 parent6da8094 commita36a41b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ persist('some', someStore, {
5757
Any Storage Engine that has a Promise-style API similar to[`localForage`](https://github.com/localForage/localForage).
5858
The default is`localStorage`, which has a built-in adaptor to make it support Promises.
5959
For React Native, one may configure`AsyncStorage` instead.
60+
<br>
61+
Any of[`redux-persist`'s Storage Engines](https://github.com/rt2zz/redux-persist#storage-engines) should also be compatible with`mst-persist`.
6062
-**jsonify***bool* Enables serialization as JSON (default:`true`).
6163
-**whitelist***Array\<string\>* Only these keys will be persisted (defaults to all keys).
6264
-**blacklist***Array\<string\>* These keys will not be persisted (defaults to all keys).

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp