Skip to main content
100%

Fork of Hello HTML

✓ Published0🌍 Public
MMatheus Coelho
Last edited Jun 18, 2024
Created on Jun 18, 2024
Forked from Hello HTML

This example demonstrates a minimal React setup that renders both a static SVG graphic and a dynamic JSX element. It shows a yellow circle with two smaller circles, drawn directly in the SVG markup alongside an `<h1>` tag that says "Hello JSX". The code imports React and ReactDOM, logs the ReactDOM object to the console, and uses `ReactDOM.render()` to mount a functional component into the `#root` div. The SVG is hardcoded in the HTML, while the React component handles text rendering.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes