Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature: Support React Native AsyncStorage #2

Closed
3 tasks done
mcnaveen opened this issue Sep 23, 2023 · 0 comments · Fixed by #7
Closed
3 tasks done

🚀 Feature: Support React Native AsyncStorage #2

mcnaveen opened this issue Sep 23, 2023 · 0 comments · Fixed by #7
Labels
help wanted Extra attention is needed status: accepting prs

Comments

@mcnaveen
Copy link
Owner

Bug Report Checklist

  • I have tried restarting my IDE and the issue persists.
  • I have pulled the latest main branch of the repository.
  • I have searched for related issues and found none that matched my issue.

Overview

Cart partially works on React Native. But there is some issue.

[zustand persist middleware] Unable to update item 'cart', the given storage is currently unavailable.

Right now, Our code doesn't know if it's running on the web or in a React Native app.

So that we can use @react-native-async-storage/async-storage to make sure our code works with AsyncStorage in React Native.

Refer: pmndrs/zustand#394 (comment)

Additional Info

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed status: accepting prs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant