- What makes event handlers in React declarative?
- React event handlers are declared as part of the component JSX
- What's a common use of higher-order event handler functions?
- When you have several components that handle the same event, you can use a higher-order function to bind the ID of the item being clicked to the handler function
- Can you pass inline functions to event properties?
- Yes. This is preferable when event handlers are simple one-liners.
- Why does React use pools of event instances instead of creating new instances with each event?
- To avoid invoking the garbage collector to delete unused event instances when lots of events are fired in a small amount of time