🌍 Public
Viewing a saved revision (read-only)
b7dbb3f915d54f67ba54bf90ccab3852
Fork of React Starter
This example displays a large, centered “Hello React!” message on a plain webpage. It serves as a minimal demonstration of React’s rendering capabilities. The code uses the React and React DOM libraries to define a component and mount it to the DOM. `createRoot` from `react-dom` targets the `#root` element in the HTML, and `root.render` injects the component, producing the final text output.
AI-generated descriptionReact Starter code.