🌍 Public
Viewing a saved revision (read-only)
d5b118aca78041d08651ce42aff11cdc
React Starter
This example demonstrates a minimal React application that renders a static product name in red text using inline styles. It defines a `Product` component that displays the `name` property of a hardcoded `product1` object, while also declaring an unused `product` array. The code uses React 16.10.0 and ReactDOM to mount the component into an HTML element with the ID `root`. The visualization shows basic component structure and JSX syntax without any interactive or data-driven behavior.
AI-generated descriptionReact Starter code.