react组件生命周期
React components have several lifecycle methods that you can override to run your code at a particular time in the process.
React组件具有几种生命周期方法,您可以重写它们以在流程中的特定时间运行代码。
In this video, Nick Karnik demonstrates all the React Component Lifecycle methods. You will learn when to use the methods in a React application.
在此视频中,尼克·卡尼克(Nick Karnik)演示了所有React Component Lifecycle方法。 您将学习何时在React应用程序中使用这些方法。
You can watch the video on the freeCodeCamp.org YouTube channel (26 minute watch).
您可以在freeCodeCamp.org YouTube频道上观看视频(观看26分钟)。
翻译自: https://www.freecodecamp.org/news/react-component-lifecycle/
react组件生命周期