Description
The latest major RxJS version is 7, which we're using, but they've recently merged a few deprecations in order to simplify their operator's set taking effect mostly on future RxjS@9, which is long in the future. Nonetheless, it's sane for us to implement the deprecation's alternatives, as they're simple enough and mostly map 1:1 with our current usage.
e.g.:
mapTo(value), // to
map(() => value), // or
map(constant(value)), // lodash's constant
Acceptance criteria
- No more RxJS deprecation's warnings on codebase
Tasks
Why do this?
Deprecated operator functions can be replaced with other functions to ensure future compatibility.
Description
The latest major RxJS version is 7, which we're using, but they've recently merged a few deprecations in order to simplify their operator's set taking effect mostly on future RxjS@9, which is long in the future. Nonetheless, it's sane for us to implement the deprecation's alternatives, as they're simple enough and mostly map 1:1 with our current usage.
e.g.:
Acceptance criteria
Tasks
Why do this?
Deprecated operator functions can be replaced with other functions to ensure future compatibility.