Redux for React using JavaScript/ECMAScript
Introduction to Redux for React using JavaScript/ECMAScript
Overview
Redux is a predictable state container for React. As React applications become more complex, developers often find a need for more structure around the data or state they are managing in their application. The Redux JavaScript library provides an elegant solution for this need.
This Introduction to Redux for React using JavaScript/ECMAScript training teaches developers the skills they need to immediately use Redux in their React applications.
Note: This Redux class can also be taught using TypeScript.
Objective
- Understand state management including when it is needed and the various alternatives
- Utilize Redux to manage the state of the application.
- Use React and Redux together
- Implement React and Redux best practices
- Write unit tests for React using Jest and React Testing Library
Outline
- • What is State?
- • When do you need a State Management library?
- • Alternatives to Redux
- • Using Context for Shared State
- • Server State: React Query, SWR, or GraphQL client
- • What is Redux?
- • Benefits Checklist
- • Principles of Redux
- • Core Concepts (Store, State, Reducers, Actions, Action Creators)
- • Complementary Packages
- • When do you need Redux?
- • Basic Redux Example (includes time traveling)
- • Gotchas/Tips
- • Redux with React in Function Components
- • useSelector and useDispatch Hooks
- • Provider
- • Example
- • Redux with React in Class Components
- • Higher-Order Components
- • The connect function
- • Writing mapState functions
- • Writing mapDispatch Functions
- • Example
- • Overview
- • Async Actions (Thunks)
- • Installation
- • Your First Thunk
- • Full CRUD Example
- • Tools (Jest, React Testing Library or Enzyme)
- • Syntax
- • Testing Vanilla JavaScript with Jest
- • Mocking
- o Mocking Modules
- o Mocking Functions
- • Debugging Tests
- • Component Tests with React Testing Library
- • Component Tests with Enzyme
- o Shallow
- o Full
- o Snapshot
- • Testing Redux Actions & Thunks, Reducers, HTTP
- • What causes a component to render?
- • Wasted Renders
- • Memoization
- • React.memo
- • Pure Components
- • Performance
- o What causes a component to render?
- o Wasted Renders
- o Memoization
- o React.memo
- o Pure Components
Training Materials
All attendees receive comprehensive courseware.
Software Requirements
• Google Chrome and/or Firefox
• Other modern browsers as desired
• IDE/development environment of your choice
• Other free software and lab files that Skillmetrix would specify, including Node.js
Why Online Bootcamps
Develop skills for real career growth
Cutting-edge curriculum designed in guidance with industry and academia to develop job-ready skills
Learn by working on real-world problems
Capstone projects involving real world data sets with virtual labs for hands-on learning
Learn from experts active in their field, not out-of-touch trainers
Leading practitioners who bring current best practices and case studies to sessions that fit into your work schedule.
Structured guidance ensuring learning never stops
24x7 Learning support from mentors and a community of like-minded peers to resolve any conceptual doubts




