Skip to main content
100%

Basic react

✓ Published0🌍 Public
Aalansmithy
Last edited Jul 4, 2019
Created on Jul 4, 2019

This example shows a minimal React application that renders a heading and a personalized greeting. It demonstrates how to define functional components and compose them, with `App` passing a `somebody` prop to the child `MyComponent`. The code uses React 16 and ReactDOM, with JSX compiled in the browser via the Babel standalone library. The greeting text is hardcoded as “Alan” in the render call, and the output appears inside the `#app` div in the HTML body.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes