Add Local State to a Functional Stateless Component using Recompose

Tim Kindberg
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
Aimn
~ 4 years ago

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

shiny
shiny
~ 3 years ago

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

shiny
shiny
~ 3 years ago

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