{"library":"typescript-fsa-reducers","type":"library","category":null,"description":"TypeScript FSA Reducers provides a fluent, typesafe API for defining Redux reducers. It builds on `typescript-fsa` to streamline reducer creation by removing common boilerplate such as `if-else` chains for action type checking and manual extraction of payloads from actions. Instead, it offers a method-chaining approach with dedicated handlers for specific action creators. The current stable version is 1.2.2. While there isn't a strictly defined release cadence, the library has demonstrated consistent updates and a commitment to stability, notably reaching version 1.0.0. Its key differentiators include the fluent builder pattern (`.case()`, `.default()`, `.withHandling()`, `.build()`), strong type inference for state and payloads, and direct integration with `typescript-fsa`'s action creators, making reducer logic concise and highly maintainable in TypeScript Redux applications.","language":"javascript","status":"active","version":"1.2.2","tags":["javascript","redux","typescript","action","reducer","builder"],"last_verified":"Wed May 27","install":[{"cmd":"npm install typescript-fsa-reducers","imports":["import { reducerWithInitialState } from 'typescript-fsa-reducers';","import { reducerWithoutInitialState } from 'typescript-fsa-reducers';","import { upcastingReducer } from 'typescript-fsa-reducers';"]},{"cmd":"yarn add typescript-fsa-reducers","imports":[]},{"cmd":"pnpm add typescript-fsa-reducers","imports":[]}],"homepage":null,"github":"https://github.com/dphilipson/typescript-fsa-reducers","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/typescript-fsa-reducers","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/typescript-fsa-reducers/compatibility"}}