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

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.

主站蜘蛛池模板: 社会| 龙江县| 仙居县| 神木县| 甘南县| 沽源县| 方正县| 南投市| 蛟河市| 三原县| 桐梓县| 延边| 武宣县| 神农架林区| 凤庆县| 宜宾县| 勐海县| 郁南县| 顺义区| 微山县| 鄢陵县| 万全县| 石渠县| 调兵山市| 孟津县| 庆云县| 虹口区| 旅游| 辽宁省| 阿克| 广平县| 宜州市| 岚皋县| 苏州市| 思茅市| 肃宁县| 景泰县| 乐安县| 莒南县| 开江县| 蚌埠市|