You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to add the ability to optionally select a subset of the H4R redux slice and only re-render when that subset changes:
const[use,{...}]=createReduxModule('example',{foo: 1,bar: 2},{...})constMyComponent=()=>{constfoo=use(({foo})=>foo)// doesn't re-render if bar changesreturn ...
}
The text was updated successfully, but these errors were encountered:
@mattcgenui Thanks for this! I finally got this released as version 2.1. I want to add typescript support for this too, so I created a new issue for tracking that effort (#14).
I'd like to add the ability to optionally select a subset of the H4R redux slice and only re-render when that subset changes:
The text was updated successfully, but these errors were encountered: