My Library Docs

Multi-root Sidebar

flex-layout

  • Getting Started

  • Guides

  • Reference

typed-rx-http

  • Getting Started

  • Guides

  • Reference

global-rx-state

  • Getting Started

  • Guides

  • Reference

webflux-fe-dev-assistant

reactive-mongo-dsl

Reducer Mode

Use this when it's better to gather state change rules into actions rather than calling setters directly.


Named reducer state

createRxReducerdispatches actions without directly changing the state. Suitable for states with multiple change rules like cart, todo, and editor state.

tsx
Use reducer tuple helper for runtime key.

If you need to separate reducer stores for each runtime key like workspace id or project id. createRxReducerTupleuse this.

tsx
© 2026 Byeolnaerim. All rights reserved.IntroductionPrivacy Policy