Redux Connected Higher-Order React Component using TypeScript 👨🍳
While working on a feature-toggling system that allows users to switch preview features on and off, I wanted to create a featureAware enhancer-type HOC that I could use to wrap existing enhancers, e.g. withRouter & connect: I also wanted this enhancer to work on it's own: In this case…