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

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.

主站蜘蛛池模板: 田林县| 卢湾区| 神池县| 镇坪县| 肇州县| 龙山县| 云南省| 麟游县| 大化| 崇信县| 连云港市| 曲水县| 榆社县| 灌南县| 黑龙江省| 邓州市| 潜山县| 黄山市| 赤城县| 子长县| 宁阳县| 杭锦后旗| 彭阳县| 米泉市| 报价| 石门县| 光泽县| 保定市| 封开县| 马边| 叙永县| 彭水| 东山县| 禄丰县| 义马市| 金沙县| 长岭县| 哈巴河县| 高要市| 安徽省| 石棉县|