question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AsyncStorage won't be in RN core anymore

See original GitHub issue

Is 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:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

14reactions
krizzucommented, Apr 3, 2019

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 with hooking modules into react-native-web.

6reactions
SimenBcommented, Feb 28, 2019

Ideally, wouldn’t a web implementation live in https://github.com/react-native-community/react-native-async-storage?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found