AsyncStorage won't be in RN core anymore
See original GitHub issueIs your feature request related to a problem? Please describe.
AsyncStorage module has been moved into a separate package https://github.com/react-native-community/react-native-async-storage
Describe a solution you’d like
Should we do something similar?
Describe alternatives you’ve considered
Since RNW is a monorepo, we could create react-native-async-storage-web
(or react-native-web-async-storage
.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Async Storage has been extracted from react-native core...'?
There are two ways you can do this. Firstly import AsyncStorage correctly. This will remove the warning and fix the problem.
Read more >Troubleshooting | Async Storage - GitHub Pages
This error means that AsyncStorage was unable to find its native module. This occurs because AsyncStorage was not linked into the final app...
Read more >effector-storage - npm
Small module for Effector ☄️ to sync stores with different storages (local storage, session storage, async storage, IndexedDB, cookies, ...
Read more >Cloud Messaging | React Native Firebase
Syncing message data silently on the device (e.g. via AsyncStorage ). ... or quit state, the onMessage handler will not be called when...
Read more >AsyncStorage - React Native
It is recommended that you use an abstraction on top of AsyncStorage instead of AsyncStorage directly for anything more than light usage since ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey everyone 👋
I’m maintainer of Async Storage on RN community Repo and I love the idea of having support for the web in the same repo. I’m up for doing adding this in upcoming days.
Regarding @piranna idea, my long-term plan for the library is to add a functionality similar to Adapter pattern used in Android community, where there’s one public facing interface (
getItem
,setItem
etc.), but underlying implementation is based on “adapter”, which can change by developers/based on target platform. I believe this could help withhooking
modules into react-native-web.Ideally, wouldn’t a web implementation live in https://github.com/react-native-community/react-native-async-storage?