You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/pages/plugins/createAsyncStoragePersistor.md
+17-7Lines changed: 17 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
id: createAsyncStoragePersistor
3
-
title: createAsyncStoragePersistor for React Native (Experimental)
3
+
title: createAsyncStoragePersistor (Experimental)
4
4
---
5
5
6
6
> VERY IMPORTANT: This utility is currently in an experimental stage. This means that breaking changes will happen in minor AND patch releases. Use at your own risk. If you choose to rely on this in production in an experimental stage, please lock your version to a patch-level version to avoid unexpected breakages.
@@ -13,9 +13,11 @@ This utility comes packaged with `react-query` and is available under the `react
13
13
14
14
- Import the `createAsyncStoragePersistor` function
15
15
- Create a new asyncStoragePersistor
16
+
- you can pass any `storage` to it that adheres to the `AsyncStorage` interface - the example below uses the async-storage from React Native
16
17
- Pass it to the [`persistQueryClient`](../persistQueryClient) function
0 commit comments