🌍 Public
Viewing a saved revision (read-only)
2ee308bdf8d346d39258880806c711a7
React Starter
This example demonstrates a minimal React application that renders a single product element, “bamboo steamer,” to the page. The code defines a `Product` component and an `App` component, using ReactDOM’s `render` method to mount the app into the `#root` div. It relies on the React and ReactDOM production libraries loaded via unpkg, and the styling is set through a global CSS rule that increases the body font size. The data is hard-coded in the `product` array, though the displayed output only uses a fixed string passed as a prop.
AI-generated descriptionReact Starter code.