This module will introduce you to the React Development Environment. You’ll also look at some useful tools available in the React environment, as well as looking at a React project anatomy and how React interacts with the DOM.
The objectives of this module are to provide you with an understanding of:
- Developer tools available for React
- How to set up the developer environment and a skeleton React application
- Security concerns with React
This learning path is aimed at all who wish to learn how to use the ReactJS framework.
We welcome all feedback and suggestions - please contact us at firstname.lastname@example.org to let us know what you think.
When bundling our application, the index.js file is used as the entry point into the React code. If we look inside this file, we can see that it imports some symbols, and then calls the render method from React DOM. This method takes two arguments. The first is the markup we want to insert into our application, and the second is the reference to an HTML element in the index.html file.
The strict mode component was recently introduced as a tool for highlighting potential problems in our application, and it doesn't render anything. So our application will actually render the app component inside the first element in the index.html file that has the idea of route. The service worker mentioned here, is functionality baked into create React app, and it allows you to create progressive web applications using react. By default, this functionality is disabled.
Ed is an Outstanding Trainer in Software Development, with a passion for technology and its uses and holding more than 10 years’ experience.
Ed is responsible for delivering QA’s Programming Foundations course using the Eclipse IDE. His skillset extends into the DevOps sphere, where he is able to deliver courses based around Agile/Scrum practices, version control, and CI/CD.