Skip to main content
100%

Fork of React Starter

✓ Published0🌍 Public
Ttlknvv28@ukr.net
Last edited Mar 3, 2024
Created on Mar 3, 2024
Forked from React Starter

This example shows a minimal React application that renders a centered “Hello React!” message. The code defines an `App` component returning a `<div>` with the message text, then uses `createRoot` from `react-dom` to mount that component into the `#root` element in `index.html`. The page’s styling, set via a `.message` class in the embedded `<style>` tag, controls the font size and text alignment. The HTML file loads React and ReactDOM from unpkg CDN, while the JavaScript imports `React` and `createRoot` directly. No data or interaction is present beyond this static render.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes