Getting Started with the Redux JavaScript Library | Redux Deep Dive

Explore Using Redux to Simplify Your Complex Data, Working with Redux Middleware, Handle Asynchronous Ops and More

TT4193

Introductory and Beyond

3 Days

Course Overview

Redux is a JavaScript library that tames your unruly data. Redux manages your app’s state. In every web app, data is critical. But while most JavaScript frameworks like Angular, Vue, and especially React are strong in presenting data, they are pretty weak in maintaining data.  

To solve this issue, the people who brought us React introduced Redux to shore up that weakness. Redux is laser-focused on taking your extremely complex data needs and simplifying them so that React (or Angular or Vue or anything else) can focus on presenting that data. It will make your UI components extremely simple and easy to change when new requirements arise in the business.

Redux Deep Dive is a comprehensive, hands-on React and Redux training course designed to teach you every aspect of Redux required to enable you to add it to any project and simplify its data needs.

Working in a hands-on learning environment, guided by our expert team, attendees will be able to:

  • Simplify complex state management with the Redux library
  • Use best practices for reducers, dispatchers, and action creators
  • Explain and leverage reducer composition
  • Understand when, how, and why to use Redux middleware
  • Handle asynchronous operations with Redux -- including Ajax
  • Integrate a Redux store into a React application

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be further adjusted to accommodate.  We offer additional full stack developer, React and other related topics that may be blended with this course for a track that best suits your needs.  Our team can help design the course or learning path that best meets your needs and skills goals.

Course Objectives

Working in a hands-on learning environment, guided by our expert team, attendees will be able to:

  • Simplify complex state management with the Redux library
  • Use best practices for reducers, dispatchers, and action creators
  • Explain and leverage reducer composition
  • Understand when, how, and why to use Redux middleware
  • Handle asynchronous operations with Redux -- including Ajax
  • Integrate a Redux store into a React application

Need different skills or topics?  If your team requires different topics or tools, additional skills or custom approach, this course may be further adjusted to accommodate.  We offer additional full stack developer, React and other related topics that may be blended with this course for a track that best suits your needs.  Our team can help design the course or learning path that best meets your needs and skills goals.

Course Prerequisites

This fast-paced course is for intermediate skilled web developers new to React who have prior experienced working HTML5, CSS3 and JavaScript.

Take Before: Attendees should have experience with the topics in the following courses, or should have recently attended these as a pre-requisite:

  • TT4003:         Introduction to HTML5 / CSS3 & JavaScript Essentials

Please see the Related Courses tab for Pre-Requisite course specifics and links, links to similar courses you might review as an alternative, as well as suggested Next-Step Follow-On Courses and Learning Path recommendations.

 

Course Agenda

Please note that this list of topics is based on our standard course offering, evolved from typical industry uses and trends. We’ll work with you to tune this course and level of coverage to target the skills you need most.

Getting Started

Redux intro
The single responsibility principle
Why Redux?
Why Redux with React?
Its history and growth
The 4 concepts of Redux
State
Pure functions
Composition
Immutability
The parts of Redux
The big picture of Redux

Creating the store
Installing and including Redux
The createStore() method
The simplest possible store

State and Subscriptions
Single source of truth
Initializing state
What goes in state?
Why subscriptions?
How to subscribe in Redux

Actions and Reducers 101
Actions are objects
The shape of actions
Type and payload
Reducers are functions
Why we have them
The shape of a reducer
Tips in avoiding the worst Redux rookie mistakes

Actions
Action Creators in a React Application
Dispatching Actions
Mapping Actions to prop Names

Advanced Actions
Action constants
Action type enumerations
Action creators
Action creator enumerations

Reducer composition
The problem: complex state => complex reducers
The solution: Create state slices
Creating reducers to handle slices
Combining reducers with Redux's built-in combineReducers
Doing it manually
Why manually is the right way

Redux Middleware
The Open-Closed Principle
Introduction to middleware
The next() function
The required shape of middleware
Middleware's super-powers
Recipes and examples
Why you must register middleware and how to do it

Ajax with Redux
The problem with async calls in Redux
The trick to making a good middleware function
Registering the middleware
Dispatching an Ajax call
Making RESTful API calls
How to process them into Redux and then into React

Redux-thunk (Time permitting)
The need for a thunk
How redux-thunk fits that need
Installing and using redux-thunk properly
Dispatching Ajax calls with redux-thunk

 

Course Materials

Student Materials: Each participant will receive a Student Guide with course notes, code samples, software tutorials, step-by-step written lab instructions, diagrams and related reference materials and resource links. Students will also receive the project files (or code, if applicable) and solutions required for the hands-on work. Any courseware of lab materials provided in a cloud (if applicable) will also be made available to you separately.

Hands-On Setup Made Simple! Our dedicated tech team will work with you to ensure our ‘easy-access’ cloud-based course environment, or local installation, is accessible, fully-tested and verified as ready to go well in advance of the course start date, ensuring a smooth start to class and effective learning experience for all participants. We can also help you install this course locally if preferred. Please inquire for details and options.

Every-Course Extras = High-Value & Long-Term Learning Support! All Public Schedule courses include our unique EveryCourse Extras package (Post-Course Resource Site access with Review Labs & Live Instructor Follow-on Support, access to QuickSkills recorded High-Value lessons, Free *Live* Course Refresh Re-Takes, early access to Special Offers, Free Courses & more). Please inquire for details.

Raise the bar for advancing technology skills

Attend a Class!

Live scheduled classes are listed below or browse our full course catalog anytime

Special Offers

We regulary offer discounts for individuals, groups and corporate teams. Contact us

Custom Team Training

Check out custom training solutions planned around your unique needs and skills.

EveryCourse Extras

Exclusive materials, ongoing support and a free live course refresh with every class.

Mix, Match & Master!
2FOR1: Two Courses, One Price!

Enroll in *any* two public courses (for 2023 *OR* 2024 dates!) by December 31, for one price!  Learn something new, or share the promo!

Click for Details & Additional Offers

Learn. Explore. Advance!

Extend your training investment! Recorded sessions, free re-sits and after course support included with Every Course
Trivera MiniCamps
Gain the skills you need with less time in the classroom with our short course, live-online hands-on events
Trivera QuickSkills: Free Courses and Webinars
Training on us! Keep your skills current with free live events, courses & webinars
Trivera AfterCourse: Coaching and Support
Expert level after-training support to help organizations put new training skills into practice on the job

The voices of our customers speak volumes

Special Offers
Limited Offer for most courses.

SAVE 50%

Learn More