We begin with an introduction to what React is.
The objective of this module is to provide you with an understanding of what React is.
This Learning Path is aimed at all who wish to learn how to use the ReactJS framework.
Prerequisites of the Course
We welcome all feedback and suggestions - please contact us at email@example.com to let us know what you think.
Over the last few years, the options for creating fast interactive front ends for applications have exploded. Technology big ons like Facebook and Google have been vying to become the developer's choice from creating massive and rich Application Interfaces, React JS is one of these technologies.
So what does react JS do? As I've already stated, it simply takes data and displays it. I say simply, but as you've guessed, it's not that simple. At a more technical level, most applications have react JS performing work on the client computer to update what the user sees as they interact and use the application. New views and updated data are seamlessly created and displayed with very few overheads, like additional network calls. A concept called the virtual DOM is used to do this.
Take the react JS code and the user interactions to make updates to the virtual DOM. Then use processes called diffing and reconciliation to make the actual DOM reflect the changes in the virtual DOM saving the developer the trouble of having to code these interactions, attribute manipulations and events handling. Another benefit of this, is that objects and pages don't need to refresh when something changes, which is more efficient.
Most obvious of these is using components with known vulnerabilities. React JS application has hundreds of dependencies, and it's important to ensure that these are kept up to date. Npm to audit command can then be used to help identify what is known to be vulnerable. and the audit fix command can be used to safely update them.
However, if an update would introduce breaking changes, then a bigger pill rebuild may be required. At the time of recording, there were no known cross-site scripting vulnerabilities in react JS's core code and developers should always be aware of the dangers of incoming data and whether it should be trusted.
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.