Rolling out SharePoint solutions without a disciplined approach quickly creates brittle customisations, blocked release pipelines, and unhappy users.
SPFx delivers modern client-side web parts and extensions that run natively in SharePoint Online and in SharePoint 2016/2019
See []Overview of the SharePoint Framework(https://learn.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview?WT.mc_id=M365-MVP-33518).
For SharePoint Data, use PnPjs. Use Graph APIs, custom graph connectors or even your own APIs to retrieve data as needed.
Script Editor webparts are deprecated, avoid using "modern" replacements found online
❌ Figure: Bad example – Injecting scripts bypasses governance and often breaks modern pages
✅ Good example - Use out of the box replacements: Where are the Content editor and Script editor web parts in SharePoint?
Provider-hosted add-ins (formerly "Apps") run outside SharePoint, usually in Azure, and call back through OAuth. They are retiring in 2026 and shouldn't be built anymore.
More info on SharePoint Add-In retirement in Microsoft 365.
SPFX gives you access to a modern toolchain: TypeScript, React, Fluent UI, and Microsoft Graph. Use it to your advantage!
Don't neglect CI/CD for your SharePoint developments. The components (webparts, extensions...) might be smaller than your typical .NET project, but clean and repeatable deployment and provisioning is key to successful custom developments.
Use GitHub Actions or Azure DevOps pipelines to bundle, package, and deploy SPFx solutions.
For custom assets deployment:
❌ Don't manually upload files to Site Assets or similar.
✅ Deploy solutions through the App Catalog and ALM APIs.
SharePoint Online ships changes weekly, and SharePoint Server receives regular updates.
If you want to customize SharePoint look and feel:
❌ Do not rely on undocumented DOM markup that can change without warning.
✅ Use theme JSON, header/footer extensions, or the SharePoint Look Book.
Call Graph or SharePoint REST, not internal APIs:
Configure first, extend only when necessary. Out-of-the-box lists, libraries, and Power Automate flows or even list formatting often cover 80% of business needs.
Check out existing solutions on GitHub before developing your own customizations.
Keep branding light; theme JSON and App Customisers beat CSS overrides.
The PNP (formerly "Pattern N Practices") SharePoint community is awesome. They've got a heap of great tools available for o365 development:
And more!
Although many organisations are cloud-first, SharePoint Server is still alive and well. SPFX is compatible with virtually all SharePoint OnPrem setups (2016+), so all of the above applies.
Keep these extra points in mind: