Webpack Magic in SPFx: Optimize Bundles with Code Splitting


Most SharePoint Framework (SPFx) developers have been there. You’ve got a web part or SPFx extension that expects a list to exist on the site for it to work. So, how do you get that list created? It’s a common question, one that a student of my Mastering the SharePoint Framework course recently asked in our student community. His question included a good list of his options: Mastering SPFx Student Question I prefer to include the code within the component. When the component loads on the...