Reusable React-Redux Component Scoping
Redux-Doghouse: Creating reusable React-Redux components through scoping | Datadog

Redux-Doghouse: Creating reusable React-Redux components through scoping | Datadog

11/14/2016 · Zacqary Adam Xeper

What this post added

Introduced Redux-Doghouse, a library for creating Scoped Actions and Scoped Reducers in React-Redux applications. This pattern addresses the conflict arising when multiple instances of a component dispatch actions of the same type, by composing a unique scope onto each instance's action creators and reducers. This allows actions to be routed only to their corresponding reducers, while still enabling higher-level components to react to these scoped actions and access child component states.

Read the original post ↗