ReactJS : Updating Parent State From Child Component, Passing Arguments To Event Handlers

Опубликовано: 18 Июль 2020
на канале: NoobCoder
7,427
106

In this tutorial, we are going to be talking about how we can go about updating the Parent State from the Child Component. We can accomplish this by passing a handler down as a prop to the Child Component. The Child Component can then invoke that handler to update the Parent Components State. We'll also learn how we can pass arguments to event handlers.