Skip to content

Commit 462999a

Browse files
committed
[no ci] [Doc] explain how to disable storeKey feature
1 parent ba4a465 commit 462999a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/List.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,4 +1032,17 @@ const ProductList = () => (
10321032
...
10331033
</List>
10341034
)
1035+
```
1036+
1037+
## How to disable `storeKey`
1038+
You can disable `storeKey` feature by setting the `storeKey` prop to `false`. When disabled, parameters will not be persisted in the store.
1039+
1040+
```tsx
1041+
import { List } from 'react-admin';
1042+
1043+
const ProductList = () => (
1044+
<List storeKey={false}>
1045+
...
1046+
</List>
1047+
)
10351048
```

0 commit comments

Comments
 (0)