sunnylqm/react-native-storage

local storage wrapper for both react-native and browser. Support size controlling, auto expiring, remote data auto syncing and getting batch data in one query.

View on GitHub ↗Jump to charts ↓

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 8 minutes ago
Added to GitGenius on September 22nd, 2026
Created on July 27th, 2015
Open Issues & Pull Requests: 25 (+0)
GitHub issues: Enabled
Number of forks: 264
Total Stargazers: 3,036 (+0)
Total Subscribers: 43 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 14.2 hours
Mean response time: 14.2 hours
90th percentile: 14.2 hours
Tracked items: 1

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 468 days
Stale 30+ days: 1
Stale 90+ days: 1

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

react-native-storage is a local storage wrapper for both React Native and web applications that abstracts over AsyncStorage and localStorage with a unified API.

The tool solves the problem of managing persistent data across different JavaScript environments by providing a single interface for saving, loading, and removing data. It handles common storage challenges through features like automatic expiration of cached data, size control to prevent storage overflow, and remote data synchronization that fetches missing data from a server on demand. The synchronization approach allows you to define sync methods that are invoked automatically when requested data is not available locally, reducing boilerplate for cache-miss handling.

The project suits teams building cross-platform applications that need to share storage logic between React Native and web clients. It is particularly useful when you need automatic cache invalidation, batch data loading with optimized server requests, and straightforward promise-based async operations. The README recommends considering TanStack Query with AsyncStorage persistence as a more modern alternative for teams prioritizing a cleaner, more powerful approach to caching and persistent storage.

The project maintains an active community with multiple contributors and backers supporting its development. The codebase uses ES6 syntax and is fully tested with Jest, providing confidence in reliability for production use.