Skip to content

🚀 Feature: Support React Native AsyncStorage #2

@mcnaveen

Description

@mcnaveen

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions