Add Local State to a Functional Stateless Component using Recompose

InstructorTim Kindberg

Share this video with your friends

Send Tweet

Learn how to use the 'withState' and 'withHandlers' higher order components to easily add local state to—and create a reusable local state pattern for—your functional stateless components. No need for classes!

Aimn
~ 7 years ago

Hi, thanks for this nice course. I was wondering how you can toggle the status with a transition.

shiny
~ 7 years ago

compose(h1, h2, h3) = h1(h2(h3(base))). can we change the order ?

shiny
~ 7 years ago

i'mean can we wirte like this :' compose (withHandles, withState) '