React TutorialLesson 4Free preview
React First App
This lesson is part of React · All levels
Summary
The React project results in a generator containing important files such as index.js as the input point and App.js as the main component. The application input point renders the App component to the HTML element with the root id. From here you can add new components and then you can organize them into an application structure.
Key points
- Index.js is the entry point connecting React to HTML
- The element <div id='root'> in index.html becomes a container render React
- App.js usually contains the main component that is derived from other components
- Each component is stored in a separate file for easy maintenance
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.