jasonmerino / react-native-simple-store

A minimalistic wrapper around React Native's AsyncStorage.

Home Page:https://www.npmjs.com/package/react-native-simple-store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-web support

afilp opened this issue · comments

commented

Can you support react-native-web?

The library could detect if the platform is web and then implement the same methods with localStorage instead.

What do you think?

As of now, any react-native-web project fails because the asyncStorage is not well supported there.

See this thread:
react-native-async-storage/async-storage#52

That's an interesting idea. I have not used react-native-web before. I'll check into it and get back about what the possibilities here could be.

I've been hoping to look at this, but I'm pretty slammed right now. I would love to take a look at any pull request for this feature.