{"library":"alveron-middleware-persistence","type":"library","category":null,"description":"Alveron Middleware Persistence is a specialized middleware designed to integrate a state persistence layer into Alveron applications. Alveron is a lightweight, Elm-inspired state management library for React (approx. 1.2kb) that leverages React's `useState` hook and handles asynchronous side effects. This middleware enables Alveron stores to automatically persist their state to browser storage mechanisms like `localStorage` or `sessionStorage`, ensuring that application data endures across page reloads or browser sessions. The current stable version, 8.0.3, is designed to work seamlessly with Alveron versions greater than 8.0.0. While a specific release cadence for this middleware is not publicly documented, its versioning typically aligns with major releases of the core `alveron` library. Its primary differentiator is its direct compatibility and integration within the Alveron ecosystem, providing a structured approach to state hydration and rehydration tailored for Alveron's model, actions, and effects architecture.","language":"javascript","status":"active","version":"8.0.3","tags":["javascript","alveron","middleware","persistance","localStorage","sessionStorage","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install alveron-middleware-persistence","imports":["import persistenceMiddleware from 'alveron-middleware-persistence';","import persistenceMiddleware, { PersistenceConfig } from 'alveron-middleware-persistence';"]},{"cmd":"yarn add alveron-middleware-persistence","imports":[]},{"cmd":"pnpm add alveron-middleware-persistence","imports":[]}],"homepage":"https://alveron.js.org","github":"https://github.com/robinweser/alveron","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/alveron-middleware-persistence","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/alveron-middleware-persistence/compatibility"}}