Learning Redux Front Cover

Learning Redux

  • Length: 374 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2017-08-31
  • ISBN-10: 1786462397
  • ISBN-13: 9781786462398
  • Sales Rank: #1606063 (See Top 100 Books)
Description

Build consistent web apps with Redux by easily centralizing the state of your application

Key Features

  • Write applications that behave consistently, run in different environments (client, server and native), and are easy to test
  • Take your web apps to the next level by combining the power of Redux with other frameworks such as React and Angular
  • Uncover the best practices and hidden features of Redux to build applications that are powerful, consistent, and maintainable

Book Description

The book starts with a short introduction to the principles and the ecosystem of Redux, then moves on to show how to implement the basic elements of Redux and put them together. Afterward, you are going to learn how to integrate Redux with other frameworks, such as React and Angular.

Along the way, you are going to develop a blog application. To practice developing growing applications with Redux, we are going to start from nothing and keep adding features to our application throughout the book. You are going to learn how to integrate and use Redux DevTools to debug applications, and access external APIs with Redux. You are also going to get acquainted with writing tests for all elements of a Redux application. Furthermore, we are going to cover important concepts in web development, such as routing, user authentication, and communication with a backend server

After explaining how to use Redux and how powerful its ecosystem can be, the book teaches you how to make your own abstractions on top of Redux, such as higher-order reducers and middleware.

By the end of the book, you are going to be able to develop and maintain Redux applications with ease. In addition to learning about Redux, you are going be familiar with its ecosystem, and learn a lot about JavaScript itself, including best practices and patterns.

What you will learn

  • Understand why and how Redux works
  • Implement the basic elements of Redux
  • Use Redux in combination with React/Angular to develop a web application
  • Debug a Redux application
  • Interface with external APIs with Redux
  • Implement user authentication with Redux
  • Write tests for all elements of a Redux application
  • Implement simple and more advanced routing with Redux
  • Learn about server-side rendering with Redux and React
  • Create higher-order reducers for Redux
  • Extend the Redux store via middleware

Table of Contents

  1. Why Redux?
  2. Implementing the Elements of Redux
  3. Combining Redux with React
  4. Combining Redux with Angular
  5. Debugging a Redux Application
  6. Interfacing with APIs
  7. User Authentication
  8. Testing
  9. Routing
  10. Rendering on the Server
  11. Solving Generic Problems with Higher-Order Functions
  12. Extending the Redux Store via Middleware
To access the link, solve the captcha.