- Redux Quick Start Guide
- James Lee Tao Wei Suresh Kumar Mukhiya
- 576字
- 2021-07-02 12:40:26
What this book covers
Chapter 1, Understanding Redux, provides a detailed overview of Redux, its fundamental principles, and a unified approach to the Redux echo system. In addition to this, we will discuss the Redux life cycle, action creators, Redux, and Redux Store. We will discuss in detail the need for these components in the management of state. Finally, we will initiate our project and set up Node.js, webpack, Babel, Redux, and Yarn.
Chapter 2, Testing, follows the TDD approach to developing single page applications. In this chapter, we will discuss why the TDD approach is efficient in building scalable systems. We will also explore how we can set up JEST for testing and how we can use JEST to test React, Redux, Redux Sage, Reducers, and other components.
Chapter 3, Routing, examines routing and the need for it. We will then explore the use of react-router-dom and its functions. We will create a list of routes that we will need in order to create our application. In addition, we will configure react-router-redux in our application and explore the differences between react-router-dom and react-router-redux. Finally, we will explore routing on the server site and create the routes required for our application.
Chapter 4, Concept of Immutability, deals with immutability and its importance. We will set up Immutable JS in our application and convert our reducers to stores in the Immutable JS architecture. We will be using some of the most common data structures, such as Map, List, Set, and OrderedList from the Immutable JS framework. Finally, we will explore how Immutable JS can be tested.
Chapter 5, React with Redux, deals with building interactive component using ReactJS. Moreover, we will be connecting React with Redux, understanding the component life cycle, and the various states in React, as well as the various performance parameters of React components. Finally, we will continue our application and add user interfaces using ReactJS, Redux Form, and Ant Design.
Chapter 6, Extending Redux by Middleware, explores middleware and the need for it. In addition, we will continue our application and add three important middlewares to our application, including Redux Store middleware, Redux Saga middleware, and language middleware. We will explore other aspects of Redux Saga and discuss how it can be used in handling side effects.
Chapter 7, Debugging Redux, examines the concept of debugging and the types of tools we can use in order to debug our application. It is highly unlikely that the user will code everything with one hundred percent accuracy. Errors may include logical errors, syntax errors, or semantic errors. Understanding errors from the browser, library, or server is a very important skill. Here, we will explore how we can integrate Redux Dev tools. In addition, we will integrate Hot Module Reloading and explore its benefits. Finally, we will learn about using Redux Dev tools.
Chapter 8, Understanding the REST API, covers the setting up of our API server and creating the API required for our application. We will create GET, POST, PUT, and DELETE routes for our required module. We will explore a modern approach to structuring our server site components in terms of Model, Controller, Helper, and utilities' functions. We will explore the use of Node.js with Express to build the RESTful API components. Finally, we will explore the possibilities of extending the application for the purpose of further research, such as deployment, and optimization.
- 一步一步學(xué)Spring Boot 2:微服務(wù)項目實戰(zhàn)
- 自己動手寫搜索引擎
- LabVIEW 2018 虛擬儀器程序設(shè)計
- Python數(shù)據(jù)可視化:基于Bokeh的可視化繪圖
- Go語言高效編程:原理、可觀測性與優(yōu)化
- Developing Middleware in Java EE 8
- NLTK基礎(chǔ)教程:用NLTK和Python庫構(gòu)建機器學(xué)習(xí)應(yīng)用
- Reactive Programming with Swift
- Data Analysis with IBM SPSS Statistics
- Oracle數(shù)據(jù)庫從入門到運維實戰(zhàn)
- Microsoft System Center Orchestrator 2012 R2 Essentials
- 可解釋機器學(xué)習(xí):模型、方法與實踐
- Building RESTful Python Web Services
- Learning Jakarta Struts 1.2: a concise and practical tutorial
- Python Web自動化測試設(shè)計與實現(xiàn)