Web Development > react-state > Flashcards
What is the purpose of state in React?
represent the current state that a component is in, be interactive
How to you pass an event handler to a React element?
reactElement prop(eventHandler) = “value”