Put in order · JavaScript and React course · Module 12: React and TypeScript
Hierarchy of React Event Types
Arrange event types from the most general to the most specific:
Items to put in order
- React.ChangeEvent (value change event)
- React.SyntheticEvent (base type for all events)
- React.ChangeEvent<HTMLInputElement> (change in input)
You can check the correct answer by solving this task in the CodeWorlds game.