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.

Truly async storage for web

See original GitHub issue

Motivation

It looks like web support for async storage is actually backed by a sync storage (localStorage or sessionStorage) which could be problematic when serializing large objects.

Description

There should be no functional changes.

New feature implementation

Would you be interested in implementing this via https://github.com/WICG/kv-storage? I can take a stab at it.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
forabicommented, Nov 13, 2019

@Krizzu yes, I was trying to “future-proof” the implementation but I do agree that idb-keyval is much simpler (also has decent TS support).

0reactions
krizzucommented, Feb 3, 2020

Implemented in latest master branch.

Read more comments on GitHub >

github_iconTop 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 >
React Native AsyncStorage - Asap developers
Asynchronous means that each of its methods returns an object that could be a Promise or an Error. It's unencrypted, so beware of...
Read more >
HOW TO USE ASYNC STORAGE REACT NATIVE - YouTube
Hi guys in this video I will show you how to make use of async storage in your react native projectLink to ...
Read more >
What is AsyncStorage in React Native and how to use it with ...
AsyncStorage is React Native's API for storing data persistently over the device. It's a storage system that developers can use and save data...
Read more >
Async Storage Example - Expo Snack
Example of React Native Async Storage.
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