Redux completes the missing piece of the React framework, and is used at the core of React for most complex React projects. In this course, we'll be focusing on leveraging the Redux framework to impose better engineering on React applications. Redux is an implementation of FLUX, which is a pattern for managing application state in React. Redux brings a clean and testable design to the table using a purely functional approach.
Moving on, we'll turn our simple client into a single page application. We'll use react-router to allow different URLs to render different pages, and you'll see how to break up our application state into groups of related data. We'll focus on retrieving lists of records from the server and paginating them, starting by leveraging the Redux framework to implement our own pagination. Then we'll replace most of the code we've written so far, with a third-party package that neatly solves the problem of form submission for us.
After that, you'll submit the form with axios, use react-router to redirect on success, and leverage toastr to display error notifications. Finally, we'll rip out most of our code and replace it with a popular library that's built to manage form state. At the end, you will focus on testing different libraries for our React components, and then test our asynchronous action creators and reducers.
Style and Approach This is an in-depth course where we'll be focusing on leveraging the Redux framework to impose better engineering on React applications. Users are expected to have a working knowledge of node.js, webpack, and at least one data binding framework, ideally React. It's also helpful to have a basic understanding of one-way data flow, which is the key principle behind the FLUX architecture
Table of Contents
IMPLEMENTING THE FLUX PATTERN WITH REDUX BUILDING APPLICATIONS WITH REDUX DESIGNING SINGLE PAGE APPS PAGINATING SERVER DATA SUBMITTING FORMS TESTING REACT-REDUX APPLICATIONS
What You Will Learn Boost your productivity with the latest client technologies Build rich client applications with quality engineering principles Understand Flux and get to know the ins and outs of Redux Solve problems using nothing but reducers, actions, and components Save time and code by discovering the libraries that solve the most common problems Connect the boundary of your client application with well-defined server communication Find out how to test asynchronous action creators and reducers Develop confidence in your code quality and your ability to refactor when all your code is thoroughly tested