Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@callstack/async-storage
Advanced tools
Cross platform storage for React Native and Web, built on top of React Native
Cross platform local storage with React Native - like API.
Check out working web example 💻 and mobile 📱
In order to use it, just import from either web or native:
import AsyncStorage from '@callstack/async-storage';
and call any of the methods available here. The API is 100% compatible, including the errors that can be thrown.
AsyncStorage.setItem('key', 'value')
.then(() => {})
.catch(() => {})
Warning: Unlike React Native AsyncStorage, this module doesn't accept callbacks. If you are already using Promises or async/await, this warning can be ignored.
Sice the version 1.1.0 we do support callbacks (along with promises) for methods setItem
, getItem
, removeItem
and getAllKeys
. That's mean that this library now plays well with e.g. redux-persist. :rocket:
FAQs
Cross platform storage for React Native and Web, built on top of React Native
The npm package @callstack/async-storage receives a total of 489 weekly downloads. As such, @callstack/async-storage popularity was classified as not popular.
We found that @callstack/async-storage demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.