Back to Browse

S06 L02 React Components (First App Component)

2 views
Apr 30, 2026
6:00

๐Ÿ“˜ REACT COMPONENTS โ€” FIRST APP COMPONENT In this lesson, we move JSX markup out of main.jsx and into a reusable React component. You will create an App component file, export/import it correctly, and understand key naming conventions that React and JSX rely on. ๐ŸŽฏ IN THIS VIDEO Recap how the React Vite plugin transforms JSX into JavaScript Replace inline JSX in main.jsx with a component tag Understand lowercase HTML tags vs uppercase React component tags Create an App.jsx component file Return JSX from a component function Convert component declaration to arrow function syntax Use export default for the primary component export Import default exports without curly braces and render in root ๐Ÿš€ HOW TO USE THIS COURSE Componentization is the foundation of scalable React architecture. This pattern is the first step toward composing larger UIs from many small reusable pieces. ๐Ÿ‘‰ Course Website: www.richardbraycourses.co.uk ๐Ÿ‘‰ Course Repositories: www.github.com/RichardBrayCourses ๐Ÿ‘‰ Full course playlist: https://youtube.com/playlist?list=PLNlOxdq7xu14b5ewH4IJC9tMinkgZBuVR&si=Pg8pEDR5UUbQstz6 ๐Ÿ“‚ SECTION REPOSITORY Section 6 repository: https://github.com/RichardBrayCourses/frontend06-react ๐Ÿ’ก NOTE In JSX, uppercase tag names signal custom React components, while lowercase tags are treated as native HTML elements.

Download

0 formats

No download links available.

S06 L02 React Components (First App Component) | NatokHD