Repository navigation
Highlights
- Add explicit, idempotent
store.dispose()and enhanceronDisposecleanup for store subscriptions and per-store Redux DevTools connections. - Harden Redux DevTools support: safe initialization without browser globals, detached state snapshots, stable RESET/import baselines, and suppression of late callbacks after disposal.
- Add English/French documentation with public-package examples, request-scoped SSR language handling, and a persisted language preference.
Packaging and tooling
- Move the public package into
packages/soluxin a private Bun/Moon workspace, preserving the@carere/soluxpackage name and exports. - Declare the DevTools extension and its compatible Redux 4 type peer as package dependencies.
- Verify packed declarations and runtime behavior in isolated strict TypeScript consumers, alongside server/browser library tests and website browser regressions.
- Publish through a reviewed manual workflow using npm trusted publishing and provenance.
Lifecycle usage
The store creator owns disposal. Unmounting SoluxProvider does not dispose the store, and disposal does not cancel epics, timers, or middleware side effects. Create fresh slices and nested state for independent stores or SSR requests.
Install
bun add @carere/solux@4.1.0npm package · Verified publication workflow · Full changelog