Effect CommunityEC
Effect Community•9mo ago•
1 reply
Tim Smart

Updates to Effect-RX: Context Methods, RxRegistry, and New Integrations

Hello @1110198784417345608 👋

If you are using effect-rx a few changes have been introduced.

- The effectful context methods have been removed (get.set etc) in favour of making them all synchronous.
- A RxRegistry Context.Tag has been added so you can now use Rx's inside of Effect services. The RxRegistry is provided to Rx.runtime layers, and also directly to Effect's & Stream's.
- Some helpers to read the values in effects have been added: https://tim-smart.github.io/effect-rx/rx/Rx.ts.html#conversions
- Integration with KeyValueStore: https://tim-smart.github.io/effect-rx/rx/Rx.ts.html#kvs
- Integration with url search params: https://tim-smart.github.io/effect-rx/rx/Rx.ts.html#searchparam
- Refactored Rx.pull

Enjoy 🙂
Was this page helpful?