I have an action and reducer that updates a global counter. This action is fired on a rapid interval. The reducer returns a new copy of the state for each action. The reduce
Redux connect accepts a areStatesEqual function option that can be used to narrow down equality checks to specific state branches.
connect
areStatesEqual
export default connect( {}, {}, null, { areStatesEqual: (next, prev) => { return ( prev.branch === next.branch ); } } )(Component);