官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 营口市| 隆回县| 德昌县| 平安县| 沂水县| 石阡县| 黄浦区| 德钦县| 正镶白旗| 亚东县| 久治县| 维西| 平泉县| 安仁县| 昌吉市| 梅河口市| 公安县| 沙雅县| 忻州市| 平湖市| 普兰店市| 清流县| 陈巴尔虎旗| 汨罗市| 靖边县| 平定县| 兴文县| 淮北市| 同心县| 金寨县| 汶川县| 汪清县| 新宁县| 墨脱县| 深州市| 商河县| 河北区| 文登市| 滦平县| 太保市| 临朐县|