Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Small tests

Public visualization

Viewing a saved revision (read-only)

a5d0e1dc12a14d50aad6394221e79409

Small tests

0 stars0🌍 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.