Become a member
to unlock all features

    Pass Data To Event Handlers with Partial Function Application

    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”