Repository navigation
react-rx@4.2.5
·
255 commits
to current
since this release
Patch Changes
- #454
92c18dbThanks @stipsan! - Fix auseObservablememory leak where observables that complete or error synchronously upon subscription (e.g.of(...), a replayed-and-completedshareReplay(1), a synchronousthrowError) left an entry in the internal cache that its own teardown could no longer evict. A later committed mount of the same observable would clean the entry up as a side effect, but that never happens for server renders,disabledhooks, or renders that throw before commit — there the entry retained the last emitted snapshot (or error) for as long as the source observable itself stayed alive. In the synchronous error case the stale entry also replayed the old error on later mounts instead of re-subscribing the source, turning transient errors permanent.