Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

David

Member since Aug 18, 2015

Recent Blog Comments By David

  • Experimenting With Higher-Order Components In ReactJS

    Posted on Sep 1, 2015 at 3:39 PM

    @Ben, I found one limitation with decorator solution. That is when you apply it to component, you can never use that component itself. It is good for "one time used" components like "PaymentCartSelect", but not "GenericSelect." For second one you have to make copy of t... read more »

  • Experimenting With Higher-Order Components In ReactJS

    Posted on Aug 18, 2015 at 2:09 PM

    Hi, I had mental problem with High Ordered Components (HOC), but then I discover ES6 decorators. With that HOC became less bothering. My last usage was with handling click outside of component. I found package which do that, but is only implemented as mixin. So i change that into decorator and ther... read more »