Repository navigation
react-rx@5.0.0
Major Changes
-
#459
7ed6b55Thanks @stipsan! - BREAKING:useObservablenow defers store updates withuseDeferredValue— urgent renders keep the previous value while a background render catches up. Mounts, remounts, and<Activity>reveals still render the current snapshot synchronously (no initial-value flash). SSR renders synchronous emissions (instead of always usinginitialValue), no longer throws wheninitialValueis omitted, and fails the server render on synchronously erroring observables.New
useSyncObservablepreserves v4's synchronous behavior and strictgetServerSnapshotcontract — use it for controlled inputs, or rename wholesale for a mechanical migration.See the v4 to v5 migration guide.
-
#434
08379edThanks @stipsan! - BREAKING: Require Node.js>=22.12, matchingsanity'sengines.node. -
#435
bdef45bThanks @stipsan! - BREAKING: Require React^19.2as a peer dependency. React 18 is no longer supported. -
#442
a89ec09Thanks @stipsan! - Stop publishing CommonJS builds — the package is ESM-only. -
#449
5e83cbeThanks @stipsan! - BREAKING: Require RxJS^7.2as a peer dependency. Import operators from'rxjs'instead of the deprecated'rxjs/operators'path.