Redux-ORM simplifies managing normalized relational data in Redux stores by providing a declarative schema layer. Current stable version 0.16.2 is maintained with low release cadence. Key differentiators: it brings ORM concepts (models, fields, sessions) to Redux, enabling querying and updates without manual normalization/down-normalization. Unlike manual normalization, it reduces boilerplate and prevents inconsistencies, but requires understanding of relational modeling.
npm install redux-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Defines Author and Book models with a foreign key, creates a Redux store with the ORM reducer, and dispatches an action to insert a book.
Use import syntax; switch to Node >=12 with 'type': 'module' or use dynamic import.
Use static get fields() { return { ... }; } or define on prototype.Always dispatch actions via orm.create() or use the session object within a reducer.
Consider using redux-orm-props or handle schema evolution manually.
Install: npm install redux-orm and ensure import path is 'redux-orm' (not './redux-orm').
Instantiate ORM: const orm = new ORM(); then use orm.reducer().
Use import { Model } from 'redux-orm' and extend it: class Book extends Model { ... }.