React and the DOM

Developed with
QA

Contents

keyboard_tab

The course is part of this learning path

ReactJS: Zero to Hero
course-steps
14
certification
7
lab-steps
3
description
1
play-arrow
Start course
Overview
DifficultyBeginner
Duration11m
Students345
Ratings
5/5
starstarstarstarstar

Description

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.

Learning Objectives 

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 

Intended Audience  

This learning path is aimed at all who wish to learn how to use the ReactJS framework.  

Prerequisites

It is essential you understand the face of contemporary web development to attend this course. We insist upon JavaScript experience, along with good HTML and CSS skills. 

Feedback 

We welcome all feedback and suggestions - please contact us at qa.elearningadmin@qa.com to let us know what you think. 

Transcript

When bundling our application the Index.js file is used as the entry point to enter the React code. If we look inside this file we can see that it imports some symbols and then calls the random method from React Dom. This method takes two arguments, the first is the markup we want insert into our application. And the second is the reference to an html element in the Index.html file. Looking closely at this function call, you'll see that the first argument appears to be markup and not a Jarvis rip expression as you might expected. It is something called jsx and we'll cover that in a different video. But to use this syntax we have to import React. What the expression actually is, is a React component, called Strip Mode, rapping our app component. The Strip 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 for it. The service worker mentioned here is functionality baked in to create React app and it allows you to create progressive web applications using React. By default this functionality is disabled.

About the Author
Students3109
Labs8
Courses29
Learning paths6

An outstanding trainer in software development with more than 15 years experience as a Corporate and Apprentice Trainer, ICT Teacher and Head of Department, with a passion for technology and its uses. Continuing to develop existing and new skills and courses, primarily in web design using PHP, JavaScript, HTML, CSS and SQL but also OOP (Java), programming foundations (Using Python), DevOps (Git, CI/CD, etc) and Agile/Scrum. Practically minded, a quick learner and a problem solver with an attention to detail to ensure high quality outcomes.

Covered Topics