Skip to content

Have optional type guard for persist middleware #3197

Answered by dai-shi
ProgMiner asked this question in Ideas
Discussion options

You must be logged in to vote

createJSONStorage is unsafe by design. You should provide a safe storage in that case without using createJSONStorage.
I think we should be more explicit about it in our docs. @dbritto-dev

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ProgMiner
Comment options

@dai-shi
Comment options

Answer selected by ProgMiner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants