🌍 Public
Viewing a saved revision (read-only)
415f18b47e5049de9d8e55ca04607994
React Starter Code
This example shows a minimal React application that renders the text “Hello React” on a blank page. It demonstrates the basic setup for using React within an Observable-style notebook, including loading React and ReactDOM from CDN and mounting a functional component into the root DOM element. The code uses `ReactDOM.render` with a JSX component, and includes a simple CSS rule that changes the body text color to red. The visualization is a literal starting point, half way towards a smiley face, and serves as a template for building interactive charts with React.
AI-generated descriptionHalf way towards a smiley face.