Redux Dialog

Usually dialog locates inside the component where it's called from react state. But the one specific dialog can be called from different components. What's more, there are cases where dialog should be shown after some complex logic like API calls. Redux dialog resoleves above issues.

Advantages:

  • Dialog is shown after calling redux action. It means it can be called from any place of application: react component or redux saga
  • Saves code capacity and makes it less complex
Example
Change custom theme from here