react-native-web implementation of AsyncStorage
See original GitHub issueShould the react-native-web implementation of AsyncStorage also reside in this community library?
When changing to @react-native-community/async-storage the web version of my React Native app fails on multiMerge
I believe it would be a simple copy paste of the localStorage code here: https://github.com/necolas/react-native-web/blob/master/packages/react-native-web/src/exports/AsyncStorage/index.js
And it appears the react-native-web maintainers agree with the functionality residing in this library - https://github.com/necolas/react-native-web/issues/1260
Thank you.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:16
- Comments:28 (6 by maintainers)
Top Results From Across the Web
AsyncStorage - React Native
AsyncStorage is an unencrypted, asynchronous, persistent, key-value storage system that is global to the app. It should be used instead of ...
Read more >A guide to React Native's AsyncStorage - LogRocket Blog
AsyncStorage is an unencrypted and asynchronous data storage system in React Native that allows users to persist data offline.
Read more >React Native Async Storage - Yarn
An asynchronous, unencrypted, persistent, key-value storage system for React Native. Supported platforms. iOS; Android; Web · MacOS · Windows. Getting Started.
Read more >AsyncStorage is null when using with react native web
I think one thing you can do is use @callstack/async-storage module. import AsyncStorage from '@callstack/async-storage';.
Read more >Asyncstorage | npm.io
react-native-community/async-storage, ... @react-native-async-storage/async-storage ... FileSystem Based store implementation for react native.
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
Reopening the issue to continue to talk about making Web support first-class citizen in this repo. Currently working on implementing core of AS v2, and soon going to start on adding Storages.
Me neither, I guess I am stuck with react-native-web 0.11, too bad I was actively waiting for the
useNativeDriver
fix 😦