react-storage-context

JSON →
library 1.0.1 ·javascript abandoned
verified Jun 7, 2026

react-storage-context is a React library that provides a context-based API for reading and writing to localStorage and sessionStorage. Version 1.0.1 is the current stable release. It uses React's Context API to manage storage values and exposes a higher-order component (@StorageContext) and a consumer component to access storage data. Differentiators include simple decorator syntax and both local and session storage support in a single package. However, the package is unmaintained since 2019, with no TypeScript support and limited community adoption.