rxfy-react
v3.1.1
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
# getting rxfy into a project (template or add-to-existing-app)
npx skills add vanya2h/rxfy --skill rxfy-setup
# working in a project that already has rxfy
npx skills add vanya2h/rxfy --skill rxfyTwo agent skills for AI coding assistants: rxfy-setup (scaffold a create-rxfy-app template or add rxfy to an existing app at a chosen depth) and rxfy (a task-indexed reference library for the whole framework — store, React, SSR, real-time sync). Setup records the chosen variant so usage never re-detects the project type. See Agent Skills.
Install
npm install rxfy rxfy-react
# peer deps: rxjs zod lodash react react-dom @types/reactLinks
- Getting Started —
StoreProvidersetup - rxfy-react —
useStateData(remote fetch or localinitial),useStatePagedData,useModelStore,useModelStoreValue,useAtom,usePending,<Pending> - Sync Client (React) —
createSyncClient,StoreProvider'ssyncClientprop,useStateData'supdatesAvailable$/applyUpdates();createSyncClientandreadSsrGrantsare re-exported from their framework-agnostic home,rxfy-client - Server-Side Rendering — buffered, streaming (Next.js App Router), two-pass
- rxfy — core library
