Skip to main content
100%

Small tests

✓ Published0🌍 Public
Llapotok
Last edited Apr 13, 2020
Created on Apr 13, 2020
Forked from React Starter

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 description

React Starter code.

MIT Licensed

Similar vizzes