1. Welcome, Welcome, Welcome!
2. PART 1 REACT FUNDAMENTALS [4 PROJECTS]
3. A First Look at React
1. Section Overview
2. Why Do Front-End Frameworks Exist
3. React vs. Vanilla JavaScript
4. [Optional] Review of Essential JavaScript for React
5. Working With Components, Props, and JSX
1. Section Overview
2. Rendering the Root Component and Strict Mode
npx create-react-app@5 pizza-menu
// src/index.js
import React from "react";
import ReactDOM from 'react-dom/client'
function App() {
return <h1>hello</h1>
}
const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
<React.StrictMode>
<App/>
</React.StrictMode>
)