First Component & Render
Write your first component function, render it into the DOM with createRoot, and see hot reload in action.
Overview
Goal: Write your first React component, mount it with createRoot, and check hot reload.
Function components
A React component is just a function returning JSX. Example: function App() { return <h1>Hi</h1> }.
All lessons in this course
- React Kickoff: Concepts & Setup
- Project Setup: Vite, Layout & Dev Server
- First Component & Render