rt2zz / redux-persist

persist and rehydrate a redux store
MIT License
12.91k stars 862 forks source link

nativescript support #499

Open cnoter opened 6 years ago

cnoter commented 6 years ago

Hello, I'm an angular4+ user, and now I'm using nativescript to develop mobile version of my app. And I want to use this 'redux-persist' in nativescript project as well. I know this library support react-native. Is there any chance to support nativescript, or give a nice example to develop custom storage engine. Help please:)

rt2zz commented 6 years ago

I am not familiar with nativescript, but custom storage engines are quite simple, just requires three methods with a simple promise interface: https://github.com/rt2zz/redux-persist/blob/v5/src/storage/createWebStorage.js

cnoter commented 6 years ago

@rt2zz thanks for your help :)