Learning Redux
暫譯: 學習 Redux

Daniel Bugl

  • 出版商: Packt Publishing
  • 出版日期: 2017-08-28
  • 售價: $2,200
  • 貴賓價: 9.5$2,090
  • 語言: 英文
  • 頁數: 374
  • 裝訂: Paperback
  • ISBN: 1786462397
  • ISBN-13: 9781786462398
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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

About This Book

  • 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

Who This Book Is For

This book targets developers who are already fluent in JavaScript but want to extend their web development skills to develop and maintain bigger applications.

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

In Detail

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.

Style and approach

This practical guide will teach you how to develop a complex, data-intensive application leveraging the capabilities of the Redux framework.

商品描述(中文翻譯)

建立一致的網頁應用程式,輕鬆集中管理應用程式的狀態。

關於本書
- 編寫行為一致的應用程式,能在不同環境(客戶端、伺服器和原生應用)中運行,並且易於測試
- 通過將 Redux 的強大功能與其他框架(如 React 和 Angular)結合,將您的網頁應用程式提升到一個新水平
- 發掘 Redux 的最佳實踐和隱藏功能,構建強大、一致且可維護的應用程式

本書適合誰
本書針對已經精通 JavaScript 的開發人員,旨在擴展他們的網頁開發技能,以開發和維護更大型的應用程式。

您將學到什麼
- 理解 Redux 的工作原理及其原因
- 實現 Redux 的基本元素
- 結合 React/Angular 使用 Redux 開發網頁應用程式
- 調試 Redux 應用程式
- 使用 Redux 與外部 API 進行介接
- 使用 Redux 實現用戶身份驗證
- 為 Redux 應用程式的所有元素編寫測試
- 使用 Redux 實現簡單和更高級的路由
- 學習使用 Redux 和 React 進行伺服器端渲染
- 為 Redux 創建高階 reducer
- 通過中介軟體擴展 Redux 儲存區

詳細內容
本書首先簡要介紹 Redux 的原則和生態系統,然後展示如何實現 Redux 的基本元素並將其組合在一起。之後,您將學習如何將 Redux 與其他框架(如 React 和 Angular)整合。

在此過程中,您將開發一個部落格應用程式。為了練習使用 Redux 開發增長型應用程式,我們將從零開始,並在整本書中不斷為我們的應用程式添加功能。您將學習如何整合和使用 Redux DevTools 來調試應用程式,並使用 Redux 訪問外部 API。您還將熟悉為 Redux 應用程式的所有元素編寫測試。此外,我們將涵蓋網頁開發中的重要概念,如路由、用戶身份驗證和與後端伺服器的通信。

在解釋如何使用 Redux 及其生態系統的強大功能後,本書將教您如何在 Redux 之上創建自己的抽象,例如高階 reducer 和中介軟體。

到本書結束時,您將能夠輕鬆開發和維護 Redux 應用程式。除了學習 Redux,您還將熟悉其生態系統,並學到許多有關 JavaScript 本身的知識,包括最佳實踐和模式。

風格與方法
這本實用指南將教您如何利用 Redux 框架的能力開發一個複雜的、數據密集型的應用程式。