Technical requirements
This chapter relies on the GitHub solution accessible here: https://github.com/PacktPublishing/Mastering-SharePoint-Development-with-the-SharePoint-Framework-. You need to first clone the repository locally on your machine to be able to follow the steps. As the solution is built step by step, for the sections in this chapter, a dedicated Git branch has been created representing the solution at a specific state. Before reading the sections, you must check out the corresponding branch before using either the Git command line or a Git client such as GitHub Desktop or Sourcetree.
Code snippets
For brevity and readability considerations, only the relevant parts of the code are detailed in the provided snippets in this chapter. For these reasons, ad hoc code, such as dependency imports and updates to certain files, may be omitted. We recommend having the GitHub solution open while going through the chapter to get the full working version of the code and review...