Redux Quick Start Guide
暫譯: Redux 快速入門指南
Lee, James, Wei, Tao, Mukhiya, Suresh Kumar
- 出版商: Packt Publishing
- 出版日期: 2019-02-28
- 售價: $1,450
- 貴賓價: 9.5 折 $1,378
- 語言: 英文
- 頁數: 204
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1789610087
- ISBN-13: 9781789610086
海外代購書籍(需單獨結帳)
相關主題
商品描述
Key Features
- Get better at building web applications with state management using Redux
- Learn the fundamentals of Redux to structure your app more efficiently
- This guide will teach you develop complex apps that would be easier to maintain
Book Description
Starting with a detailed overview of Redux, we will follow the test-driven development (TDD) approach to develop single-page applications. We will set up JEST for testing and use JEST to test React, Redux, Redux-Sage, Reducers, and other components. We will then add important middleware and set up immutableJS in our application. We will use common data structures such as Map, List, Set, and OrderedList from the immutableJS framework. We will then add user interfaces using ReactJS, Redux-Form, and Ant Design.
We will 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, and explore routing on the server site and create the required routes for our application. We will then debug our application and integrate Redux Dev tools.
We will then set up our API server and create the API required for our application. We will dive into a modern approach to structuring our server site components in terms of Model, Controller, Helper functions, and utilities functions. We will explore the use of NodeJS with Express to build the REST API components. Finally, we will venture into the possibilities of extending the application for further research, including deployment and optimization.
What you will learn
- Follow the test-driven development (TDD) approach to develop a single-page application
- Add important middleware, such as Redux store middleware, redux-saga middleware, and language middleware, to your application
- Understand how to use immutableJS in your application
- Build interactive components using ReactJS
- Configure react-router-redux and explore the differences between react-router-dom and react-router-redux
- Use Redux Dev tools to debug your application
- Set up our API server and create the API required for our application
Who this book is for
This book is meant for JavaScript developers interesting in learning state management and building easy to maintain web applications.
商品描述(中文翻譯)
**主要特點**
- 提升使用 Redux 進行狀態管理的網頁應用程式開發能力
- 學習 Redux 的基本原理,以更有效地結構化您的應用程式
- 本指南將教您開發更易於維護的複雜應用程式
**書籍描述**
本書從 Redux 的詳細概述開始,將採用測試驅動開發(TDD)的方法來開發單頁應用程式。我們將設置 JEST 進行測試,並使用 JEST 測試 React、Redux、Redux-Saga、Reducers 及其他組件。接著,我們將在應用程式中添加重要的中介軟體並設置 immutableJS。我們將使用 immutableJS 框架中的常見資料結構,如 Map、List、Set 和 OrderedList。然後,我們將使用 ReactJS、Redux-Form 和 Ant Design 添加使用者介面。
我們將探索 react-router-dom 的使用及其功能。我們將創建應用程式所需的路由列表,並探索伺服器端的路由,為我們的應用程式創建所需的路由。接著,我們將調試應用程式並整合 Redux Dev 工具。
然後,我們將設置 API 伺服器並創建應用程式所需的 API。我們將深入探討現代化的伺服器端組件結構,包括模型(Model)、控制器(Controller)、輔助函數(Helper functions)和工具函數(utilities functions)。我們將探索使用 NodeJS 和 Express 建立 REST API 組件的方式。最後,我們將探討擴展應用程式的可能性,包括部署和優化。
**您將學到的內容**
- 採用測試驅動開發(TDD)的方法來開發單頁應用程式
- 為您的應用程式添加重要的中介軟體,如 Redux store 中介軟體、redux-saga 中介軟體和語言中介軟體
- 理解如何在應用程式中使用 immutableJS
- 使用 ReactJS 建立互動式組件
- 配置 react-router-redux,並探索 react-router-dom 和 react-router-redux 之間的差異
- 使用 Redux Dev 工具調試您的應用程式
- 設置 API 伺服器並創建應用程式所需的 API
**本書適合誰**
本書適合對學習狀態管理和構建易於維護的網頁應用程式感興趣的 JavaScript 開發者。
目錄大綱
- Understanding Redux
- Testing
- Routing
- The Concept of Immutability
- React with Redux
- Extending Redux with Middleware
- Debugging Redux
- Understanding the REST API
目錄大綱(中文翻譯)
- Understanding Redux
- Testing
- Routing
- The Concept of Immutability
- React with Redux
- Extending Redux with Middleware
- Debugging Redux
- Understanding the REST API