1×
Become a member
to unlock all features
Autoplay

    Pass Data To Event Handlers with Partial Function Application

    reactReact
    15 - 16

    In this lesson we’ll see how to pass an item’s id value in an event handler and get the state to reflect our change. We’ll also create a helper function that allows us to use partial function application to clean up the event handler code and make it more “functional”