- The React Workshop
- Brandon Richey Ryan Yu Endre Vegh Theofanis Despoudis Anton Punith Florian Sloot
- 159字
- 2021-06-11 18:28:34
Summary
In this chapter, we have described and implemented various React component lifecycle methods. Knowing how the lifecycle perpetuates itself is critical to architecting React components that are anything larger and more complex than a couple of static boilerplate components. Moreover, it is worth understanding how the lifecycle flows adding additional functionality of events as appropriate. For example, knowing about the lifecycle allows us to determine the best place to add in functionality such as making external AJAX calls that should modify the state without doing something that would affect the rendering pipeline for the component. This is something that is borderline required for mastery of writing smart React components.
If you remember the basic flow of implementing lifecycle methods, as mentioned in the chapter, you will have enough information to get you through most of the React components that you write in your lifetime. In the next chapter, we will look at class and functional components in React.
- Web程序設(shè)計及應用
- JavaScript:Functional Programming for JavaScript Developers
- Docker進階與實戰(zhàn)
- 信息可視化的藝術(shù):信息可視化在英國
- Practical DevOps
- Podman實戰(zhàn)
- 鋒利的SQL(第2版)
- Python數(shù)據(jù)分析從0到1
- 移動界面(Web/App)Photoshop UI設(shè)計十全大補
- Python Data Analysis Cookbook
- Natural Language Processing with Java and LingPipe Cookbook
- Learning YARN
- Building Wireless Sensor Networks Using Arduino
- 運維前線:一線運維專家的運維方法、技巧與實踐
- Web前端測試與集成:Jasmine/Selenium/Protractor/Jenkins的最佳實踐