React Logo
react-mkx-storage
v1.0.0 Production Ready

React Custom Storage Hooks

A comprehensive collection of production-ready React custom hooks for managing browser storage. Keep your state in sync with Local Storage, Session Storage, and Cookies.

$

Local Storage

Manage persistent state that survives browser restarts with automatic JSON serialization.

Session Storage

Handle temporary state that persists for the duration of the page session/tab.

Cookie Storage

Synchronize React state with browser cookies, complete with expiration and security options.

Sync Across Tabs

Keep your application state synchronized across multiple browser tabs automatically.

JSON Parsing

Automatic handling of complex data types like objects and arrays in all storage types.

Type Safe

Full TypeScript support with generic types for a better developer experience.

⚛ MKX STORAGE

Production-Ready Hooks

Lightweight, fully typed, and battle-tested. Each hook provides a seamless way to bridge React state with browser storage APIs.

NPM DOWNLOADS
5K+
BUNDLE SIZE
8.2KB
hooks.reference
useLocalStorage
Persistence
Save theme, auth tokens, or user settings
useSessionStorage
Session
Temporary form data or search filters
useCookieStorage
Browser API
Manage marketing preferences and SSR data
Storage Sync
Events
Automatic updates across multiple tabs
JSON Parsing
Utilities
Transparent serialization for arrays and objects

Start using custom hooks today

Install via npm, yarn, or pnpm. Zero configuration required.