Training content
This course is a complete guide to building scalable web applications using Facebook’s popular ReactJS library, leveraging the power of a virtual DOM to create fast, fluid UIs.
An overview of the library is given and then a small application is developed using the ‘Thinking in React’ steps recommended by Facebook. Learners will be able to create components to create static versions of applications. Using Props, State (using Hooks) and inverse data flow, a fully functioning application will be created. Techniques to use external data sources is explored, along with relevant lifecycle hooks. Creating a single page application through the use of routing is covered. Finally, state management tools such as Context and Reducers are introduced as a way of handling application data in large scale applications.
Intended Audience
This course is aimed at all who wish to learn how to use the ReactJS framework.
Prerequisites of the Course
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.
Learning Objectives
By the end of the course, you will be able to:
- Create React Components
- Perform some simple tests
- Think in React
- Add state and props to an application
- Add inverse data flow to an application
- Use some common React Hooks
- Use external services to provide data
- Set up a single page application
- Use Context and Reducers
Introduction to React
- To become aware of what React is
- To be aware of developer tools available for React
- To be able to set up the developer environment and a skeleton React application
- To be aware of the security concerns with React
Components and JSX
- To understand what components are
- To know what JSX is and why it is used in React JS
- To be able to create Functional and Class Components
- To be able to add multiple components
- To know how to inspect components in the Browser
- To understand how the in-browser tools work
Thinking in React Part 1 – Component Hierarchy
- To understand the development methodology suggested for React applications
- To be able to identify the component hierarchy for a given application
Thinking in React Part 2 - Static Versions
- To be able to build a static version of an application
- Understand how to use Props in components
- To be able to test Component snapshots and Components with props
- To be able to Mock components when testing
Thinking in React Part 3 – Identifying and Adding States
- How to identify state
- Where state lives
- Adding and Updating State to Components
- How to add and update state to class and function components
Forms and Events
- How to create React event forms
- How to create React form components
- How to use Form Submission
Thinking in React Part 4 – Inverse Data Flow
- Understand what inverse data flow is
Working with External Data
- The component lifecycle
- Hooks in React
- How to create restful services
- How to use an Effect Dependency Array
- How to hand errors in data requests
- How to send data
Routing in React
- How to install the React Router DOM
- Hooks in React
- How to create restful services
- How to use an Effect Dependency Array
- How to hand errors in data requests
- How to send data
State Management
- State Management
- Context
- How to create and provide context
- Reducers
- How to provide dispatch
Testing in React
- How to set up the test environment
- Jest
- Snapshot testing
- How to test with Props
- How to mock components for testing
- Mock functions
- How to test components asynchronously
- How to test components with routing
- How to test custom hooks
Feedback
We welcome all feedback and suggestions - please contact us at qa.elearningadmin@qa.com to let us know what you think.
About the Author
Ed is an Outstanding Trainer in Software Development, with a passion for technology and its uses and holding more than 10 years’ experience.
Previous roles have included being a Delivery Manager, Trainer, ICT teacher, and Head of Department. Ed continues to develop existing and new courses, primarily in web design using: PHP, JavaScript, HTML, CSS, SQL, and OOP (Java), Programming Foundations (Python), and DevOps (Git, CI/CD, etc). Ed describes himself as practically minded, a quick learner, and a problem solver who pays great attention to detail.
Ed’s specialist area is training in Emerging Technologies, within Web Development. Ed mainly delivers courses in JavaScript covering vanilla JS, ES2015+, TypeScript, Angular, and React (the latter is authored by Ed) and has delivered on behalf of Google for PWAs. Ed has also developed a new suite of PHP courses and has extensive experience with HTML/CSS and MySQL.
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.