rxfy-react
v2.0.0
Published
rxfy bindings for react
Maintainers
Readme
Official React bindings for rxfy. Subscribe components to normalized entities; each renders the one shared copy and updates live.
📚 Documentation: rxfy.vanya2h.me
Agent skills
# client-only store setup
npx skills add vanya2h/rxfy --skill rxfy
# live-app (framework) setup
npx skills add vanya2h/rxfy --skill rxfy-frameworkInstalls one of two agent skills for AI coding assistants — rxfy (store + React + SSR) or rxfy-framework (everything in rxfy plus the real-time layer). Install the one matching your setup — never both. See Agent Skills.
Install
npm install rxfy rxfy-react
# peer deps: rxjs zod lodash react react-dom @types/reactLinks
- Getting Started —
StoreProvidersetup - React Bindings —
useStateData(remote fetch or localinitial),useStatePagedData,useModelStore,useAtom,usePending,<Pending> - Live client —
createLiveClient,StoreProvider'sliveClientprop,useStateData'supdatesAvailable$/applyUpdates(),readSsrGrants - Server-Side Rendering — buffered, streaming (Next.js App Router), two-pass
- rxfy — core library
