- ReactJS by Example:Building Modern Web Applications with React
- Vipul A M Prathamesh Sonpatki
- 130字
- 2021-07-09 19:37:01
Chapter 3. Data Flow and Life Cycle Events
In the previous chapter, we saw the power of JSX. JSX makes it easy to write the React components.
In this chapter, we will focus on the data flow between components and how to manage state and life cycle of components.
In this chapter, we will cover the following points:
- Data flow in React
- Props
- PropTypes
- State
- State versus props
- When to use state and props
- Component life cycle overview
- Component life cycle methods
At the end of the chapter, we will get familiar with the data flow in the React components and the ways of maintaining and managing state. We will also get used to the life cycle of a component and various life cycle hooks provided by React.
推薦閱讀
- Visual C++程序設計學習筆記
- Dynamics 365 Application Development
- 大學計算機基礎實驗教程
- Hands-On Data Structures and Algorithms with JavaScript
- 基于Java技術的Web應用開發
- Visual C++串口通信技術詳解(第2版)
- Java性能權威指南(第2版)
- Web程序設計(第二版)
- Modern JavaScript Applications
- Android編程權威指南(第4版)
- 程序員必會的40種算法
- Python數據可視化之matplotlib實踐
- Mastering Unity 2017 Game Development with C#(Second Edition)
- 深度學習:基于Python語言和TensorFlow平臺(視頻講解版)
- SAP HANA Starter