Cory House
Aug 27, 2017 · 1 min read

Hi Tim — That’s a novel idea. Though I find it harder to follow since one needs to understand HoC, recompose, and the way that recompose is being utilized here to understand the code. In simple examples where a button needs bound, this feels like overkill — especially since one can pass the relevant value on the button itself to avoid this complexity. But thanks for sharing a unique approach I hadn’t considered!

)
    Cory House

    Written by

    Pluralsight Author, Principal at reactjsconsulting.com, Software Architect, Microsoft MVP, Speaker, Clean Coder, Aspiring Outlier.