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

시작하기

패키지를 설치하고 첫 named store를 만든 뒤, 상황에 맞는 creation style을 선택합니다.


설치
bash
세 가지 creation style

가장 일반적인 방식은 createRxState로 named object API를 사용하는 것입니다. 같은 name으로 호출하면 같은 global store를 바라보기 때문에 React 컴포넌트 내부에서도 편하게 사용할 수 있습니다. name이 runtime에 계산되지만 tuple 형태가 필요하면 createRxStateTuple을 사용하고, 상태 변경 규칙을 action/reducer로 모아야 한다면 createRxReducer를 사용합니다.

tsx
© 2026 Byeolnaerim. All rights reserved.소개개인정보처리방침