reusable-react-redux
Version:
Library to facilitate building reusable react redux components.
18 lines (10 loc) • 612 B
Markdown
# Reusable React Redux
Library to facilitate building reusable react redux components.
[]()
[]()
## Why?
1. We can do better than specifying yet-another-reducer when reusing an existing connected component.
1. We can do better than re-implementing an existing connected component in order to use a different slice of the store.
# How?
1. Higher-order reducer to programmatically choose store slice.
1. Specify store slice selector as property to connected component.