🌍 Public
Viewing a saved revision (read-only)
e2969be9c2cb41959a6dc1582a31a018
React Starter
This example demonstrates a minimal React application that renders two distinct text messages on a single page. It shows a static “Hello World” message using direct DOM manipulation via `document.getElementById` and `textContent`, alongside a larger “Hello React!” message rendered with React and ReactDOM. The code uses React 16.10 and ReactDOM to mount a functional component into a root div, while an HTML pre-element is populated outside React’s component tree. A bundle.js file, referenced in the HTML, is expected to contain the compiled React code.
AI-generated descriptionReact Starter code.