Skip to content

Add ability to set obserfvable transformations globally #79

@dmitry-korolev

Description

@dmitry-korolev

Problem
Currently, if the user wants to use RxJS or any other reactive library except light-observable, he needs to use from and its analogs in every epic. stapp-rxjs package solves this problem partially but is not convinient.

Solution
Libraries like redux-observable and recompose try to solve this problem by exposing a function (e.g.: setObservableConfig in recompose) that sets all needed transformations globally.

Todo:

  1. Create and expose a method to set transformations globally.
  2. Add a boolean field to module interface, that will, if set to true, force stapp to ignore global config and provide that module the native observable.
  3. Add predefined config to stapp-rxjs

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions