🌍 Public
Viewing a saved revision (read-only)
6ba3c61928fa481e8e40fc327f721a1f
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