Simplifying State Management in React Native: Master state management from hooks and context through to Redux, MobX, XState, Jotai and React Query
暫譯: 簡化 React Native 中的狀態管理:從 hooks 和 context 到 Redux、MobX、XState、Jotai 和 React Query 精通狀態管理
Desmurs-Linczewska, Aleksandra
- 出版商: Packt Publishing
- 出版日期: 2023-01-13
- 售價: $1,220
- 貴賓價: 9.5 折 $1,159
- 語言: 英文
- 頁數: 202
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1803235039
- ISBN-13: 9781803235035
-
相關分類:
React
海外代購書籍(需單獨結帳)
相關主題
商品描述
Make fact-based decisions by comparing different solutions and learning popular ways to manage state in React Native with clear guidelines and recommendations by a React Native expert
Key Features
- Explore the big picture of state management in React Native using the most simplified version
- Implement state management solutions by building a social media clone app
- Compare different state solutions in a contained environment to choose the best fit for your future projects
Book Description
Managing state in a React Native app can be challenging as it is one of the most difficult concepts to grasp while learning React Native. This is because there are so many ways to do it, and because there is a lack of clear guidelines on what should be used and why.
Simplifying State Management in React Native is a comprehensive introduction for those who are new to creating robust React Native apps that will have you up to speed in no time. You'll get to grips with the different state management strategies and libraries available. As you progress through the chapters, you'll try out different solutions, as well as compare and choose which solution is perfectly suited to your future projects and personal preferences. Finally, you'll create a social media clone app using all the concepts and examples that you've learned in this book.
By the end of this book, you'll be able to take on existing projects that use various state management strategies and libraries, and confidently make decisions about state management.
What you will learn
- Start out by going over the basic ReactJS “mindset”
- Explore all that ReactJS has to offer to manage state in apps by building an app
- Understand existing state management libraries such as Redux, MobX, XState, Jotai, and React Query
- Decide which libraries you want to use in your apps
- Design a social media app to fully understand state management
- Try out all the solutions presented in the book in a social media clone app
Who this book is for
This book is for junior developers, React Native developers, and mobile app developers who are already using React Native, but are also on the lookout for advice and for a broader view to manage the state and changes in their applications. Basic knowledge of ReactJS and React Native, as well as familiarity with JavaScript and general mobile app development concepts are needed to grasp the topics covered in this book.
商品描述(中文翻譯)
透過比較不同的解決方案並學習在 React Native 中管理狀態的流行方法,根據 React Native 專家的清晰指導和建議做出基於事實的決策
主要特點
- 使用最簡化的版本探索 React Native 中狀態管理的全貌
- 通過構建社交媒體克隆應用程式來實施狀態管理解決方案
- 在受控環境中比較不同的狀態解決方案,以選擇最適合您未來項目的方案
書籍描述
在 React Native 應用程式中管理狀態可能會很具挑戰性,因為這是學習 React Native 時最難掌握的概念之一。這是因為有很多種方法可以做到這一點,並且缺乏明確的指導來說明應該使用什麼以及為什麼。
《簡化 React Native 中的狀態管理》是一本全面的入門書,適合那些新手創建穩健的 React Native 應用程式,讓您迅速上手。您將掌握不同的狀態管理策略和可用的庫。隨著您逐步深入各章,您將嘗試不同的解決方案,並比較和選擇最適合您未來項目和個人偏好的解決方案。最後,您將使用在本書中學到的所有概念和範例創建一個社交媒體克隆應用程式。
在本書結束時,您將能夠處理使用各種狀態管理策略和庫的現有項目,並自信地做出有關狀態管理的決策。
您將學到什麼
- 從回顧基本的 ReactJS “心態” 開始
- 通過構建應用程式探索 ReactJS 提供的所有狀態管理功能
- 理解現有的狀態管理庫,如 Redux、MobX、XState、Jotai 和 React Query
- 決定您想在應用程式中使用哪些庫
- 設計一個社交媒體應用程式以充分理解狀態管理
- 在社交媒體克隆應用程式中嘗試書中提出的所有解決方案
本書適合誰
本書適合初級開發人員、React Native 開發人員和已經使用 React Native 的移動應用程式開發人員,但也在尋找建議和更廣泛的視角來管理其應用程式中的狀態和變更。需要具備基本的 ReactJS 和 React Native 知識,以及對 JavaScript 和一般移動應用程式開發概念的熟悉,以掌握本書所涵蓋的主題。
目錄大綱
1. What are React and React Native?
2. Managing State in a Simple React App
3. Planning and Setting Up the Funbook App
4. Styling and Populating the Funbook App
5. Implementing Redux in Our Funbook App
6. Using MobX as a State Manager in a React Native App
7. Untangling Complex Flows in React Native Apps with XState
8. Integrating Jotai in a React Native App
9. Using React Query for Server-Side-Driven State Management
10. Appendix
目錄大綱(中文翻譯)
1. What are React and React Native?
2. Managing State in a Simple React App
3. Planning and Setting Up the Funbook App
4. Styling and Populating the Funbook App
5. Implementing Redux in Our Funbook App
6. Using MobX as a State Manager in a React Native App
7. Untangling Complex Flows in React Native Apps with XState
8. Integrating Jotai in a React Native App
9. Using React Query for Server-Side-Driven State Management
10. Appendix