Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

React Starter

Public visualization

Viewing a saved revision (read-only)

27dda0e1b9ec4112a1f3cd2803082c38

React Starter

0 stars1🌍 Public
Kkbrookshire420
Last edited May 15, 2022
Created on May 15, 2022

This example demonstrates a minimal React application that renders the text "Hello React!" inside a full-screen HTML page. The code creates a single React component, `App`, which returns a `<div>` element, and mounts it to the DOM using `ReactDOM.render` targeting the `#root` div. It imports `React` and `ReactDOM` from the React library, and includes external React and ReactDOM production scripts via CDN in the HTML file. The accompanying CSS sets the body margin to zero and hides overflow.

AI-generated description

React Starter Code.