Closed Jesus-Gonzalez closed 1 year ago
The takeUntil operator doesn't work when applied on a StateObservable.
takeUntil
To demo the bug, I have created the following playground: https://codesandbox.io/s/react-rxjs-bug-takeuntil-1-d69w72 You should expect the counter to stop incrementing when pressing the STOP button.
STOP
rxjs 7.6.0 @react-rxjs/core 0.10.3 @react-rxjs/utils 0.9.5 react 18.2.0
Thank you @Jesus-Gonzalez!
This was on the rx-state/core library. I fixed it there, and I released a patch version @react-rxjs/core@0.10.4 that has this fixed.
Description
The
takeUntil
operator doesn't work when applied on a StateObservable.Playground
To demo the bug, I have created the following playground: https://codesandbox.io/s/react-rxjs-bug-takeuntil-1-d69w72 You should expect the counter to stop incrementing when pressing the
STOP
button.Environment
rxjs 7.6.0 @react-rxjs/core 0.10.3 @react-rxjs/utils 0.9.5 react 18.2.0