Chapter 4: Project Overview and the Component Life Cycle
In the previous chapter, you learned how to initialize PCF projects. This chapter aims to provide the underlying structure of the PCF project and explain the importance of the files included in the project. We will do a deep dive into how metadata is presented and take a look at the core code file that is provided as a starting point by the framework. At the end of this chapter, you will be introduced to the component life cycle and how events interact with each other.
In this chapter, we are going to cover the following main topics:
- Types of project provided by Power Apps CLI
- Understanding how components are made up
- An overview of the files and the folder structure in a PCF project
- Understanding the ControlManifest file
- Exploring the structure of index.ts
- Understanding the life cycle of the component