{"library":"vite-plugin-redux-hmr","type":"library","category":null,"description":"Vite plugin for Redux Hot Module Replacement (HMR) during development. Current version 1.0.1, released February 2025 (single release). It eliminates full-page reloads when Redux reducers change, preserving store state. Requires a specific file structure: reducers must be default-exported from a separate file, and the store index file must import it. Configures store index and reducers file paths, optional store variable name and reducer wrapping function. Only works in Vite dev mode; no circular dependencies between files or Vite falls back to full reload. TypeScript types included. Lightweight alternative to manual HMR setup with webpack-hot-middleware or custom solutions. Minimal dependencies (only Vite as peer dependency).","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","vite","vite-plugin","redux","hmr","reload","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install vite-plugin-redux-hmr","imports":["import reduxHmr from 'vite-plugin-redux-hmr'","import type { ReduxHmrOptions } from 'vite-plugin-redux-hmr'","plugins: [reduxHmr({ ... })]"]},{"cmd":"yarn add vite-plugin-redux-hmr","imports":[]},{"cmd":"pnpm add vite-plugin-redux-hmr","imports":[]}],"homepage":"https://github.com/wdev-io/vite-plugin-redux-hmr/","github":"https://github.com/wdev-io/vite-plugin-redux-hmr","docs":null,"changelog":null,"pypi":null,"npm":"vite-plugin-redux-hmr","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}