Learning Fuze > react-events-and-state > Flashcards
What is the purpose of state in React?
to render the proper content depending on user interaction
How to you pass an event handler to a React element?
You can pass it in like an attribute with a value of the function that will handle the event