DXOS Reactive State Management
Enforces robust reactive UI patterns across React state, Effect atoms, and DXOS ECHO collaborative objects to eliminate stale renders and state bugs.
DXOS Reactive State Management provides architectural rules and best practices for building reactive user interfaces within DXOS applications, governing the boundaries between local React state, shared `@effect/atom` stores, and persistent collaborative ECHO objects. It defines explicit bridging mechanisms using hooks like `useObject` and `useQuery`, enforces granular subscription models to optimize component renders, safely handles asynchronous `Ref<T>` loads, and delivers a comprehensive anti-pattern catalog for authoring components and reviewing pull requests.
Características Principales
01Async Ref resolution workflows to prevent cold-load lockups and dropouts
02Bridge mechanics using useObject, useQuery, and derived atoms for async ECHO data
03Tri-store state architecture governing React state, Effect atoms, and collaborative ECHO objects
04Comprehensive anti-pattern detection catalog for automated and peer code reviews
05Granular subscription patterns to eliminate subtree re-render overhead
06531 GitHub stars
Casos de Uso
01Reviewing component diffs to detect bare ECHO property reads and improper ref usage
02Deriving complex reactive values from multiple collaborative objects and UI settings
03Diagnosing and resolving stale UI data and cold-load rendering issues in DXOS apps