🌍 Public
Viewing a saved revision (read-only)
a5d0e1dc12a14d50aad6394221e79409
Small tests
This example demonstrates how React event handlers interact with contentEditable elements, rendering a large "Hey!" message that must be clicked or typed into to trigger console logs. The code defines a React class component with `handleClick` and `handleChange` methods bound to `onClick` and `onInput` props, using ReactDOM to mount the app into the root div. It relies on React 16.10.0 and ReactDOM production builds loaded via CDN, showcasing synthetic event handling on an editable HTML element.
AI-generated descriptionReact Starter code.