1 / 5

Best Practices in SharePoint Framework (SPFx) Development

Quick Summary: With the SharePoint Framework (SPFx), you can incorporate modern development techniques to create fast, responsive components. Microsoft is giving more and more capabilities with SharePoint Framework and there are a lot of updates that Microsoft is posting on GitHub.

John166
Download Presentation

Best Practices in SharePoint Framework (SPFx) Development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Best Practices in SharePoint Framework (SPFx) Development – The Definitive Guide

  2. Table of Index 1. Introduction 2. What is SharePoint Framework (SPFx)? 3. Best Practices for SharePoint Framework (SPFx) Development – Saving dependencies & Lock down dependencies – Use CDN for your file assets – App Package Deployment at Site Collection Level – Stay up to date with the latest SharePoint Framework (SPFx) packages – User Office UI Fabric and Fabric React 4. Conclusion

  3. Quick Summary: With the SharePoint Framework (SPFx), you can incorporate modern development techniques to create fast, responsive components. Microsoft is giving more and more capabilities with SharePoint Framework and there are a lot of updates that Microsoft is posting on GitHub. SharePoint developers, who are familiar with the development of server-side web parts are now increasingly adapting to this new Page and web part model framework. Introduction SharePoint Framework is the latest development methodologies used for SharePoint customization and now also used in customization in Microsoft Teams. Microsoft is moving forward with modern experiences and provides greater flexibility and performance for end users and developer with SharePoint Framework. Using these guidelines will avoid for any disparity and will strengthen the performance of the solutions.

  4. Best Practices for SharePoint Framework (SPFx) Development Following best practices which you need to remember for while developing SharePoint Framework (SPFx) projects. Saving dependencies & Lock down dependencies Once you have found the package you want to include in your project, you have to install and save it. The best practice is to install with: npm install –save npm will save your dependencies with the ^ prefix by default. It means that during the next npm install the latest module without a major version bump will be installed. If you do not save your dependencies, then the situation can easily become problematic for production deployments. It’s possible to have different versions locally than on production. In the meantime, if someone just released a new version, the problem will arise, when this new version has some bug which will affect your production system.

More Related