🌍 Public
Viewing a saved revision (read-only)
3f662056e79a472d827fc8dcb215d679
React Starter 101
This example demonstrates a minimal React application that renders a greeting message and a button, where clicking the button updates the displayed text from "Hage" to "Hige" using React’s `useState` hook. It uses React and ReactDOM from unpkg CDN, and the app is mounted into a `#root` div. The code includes a CSS class for large, centered text and shows basic event handling with an inline `onClick` callback.
AI-generated description