100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace
Programming

The SharePoint Framework (SPFx)

SPFx is Microsoft's modern, open-source development model for building client-side web parts and extensions that run natively in SharePoint Online.

DevelopmentIntermediate9 min readJul 10, 2026
Analogies

What Is the SharePoint Framework?

The SharePoint Framework (SPFx) is Microsoft's open-source, client-side development model for building components — web parts and extensions — that run directly inside the rendering pipeline of a SharePoint Online page. Unlike the older SharePoint-hosted and provider-hosted add-in models, which loaded content in isolated iframes, SPFx components execute in the context of the current page and user, using standard web tooling: TypeScript, npm, webpack, and gulp. Components can be built with React, Vue, Handlebars, or plain TypeScript, since SPFx itself does not mandate a UI framework.

🏏

Cricket analogy: Just as the DRS replaced purely on-field umpiring decisions with a more integrated, technology-driven review process, SPFx replaced the old SharePoint-hosted add-in model with a client-side framework that runs directly inside the page rendering pipeline.

Web Parts and the Component Model

Every SPFx web part extends BaseClientSideWebPart and implements a render() method that produces its markup. The component's manifest.json declares a unique GUID that SharePoint uses to identify the web part regardless of its display name, along with metadata like supported hosts and preconfigured entries. Configuration options exposed to end users — text fields, toggles, dropdowns — are defined through the property pane API, letting a site owner tune a web part's behavior without touching code.

🏏

Cricket analogy: The manifest.json GUID acts like a player's unique BCCI registration number issued to someone like Rohit Sharma, letting the SharePoint page load exactly the right component even if the display name changes.

Scaffolding a Project with Yeoman

New SPFx projects are created with the Yeoman generator, yo @microsoft/sharepoint, which prompts for the solution name, component type, and framework, then produces a working project with gulp as the task runner. gulp serve launches a local or hosted workbench for iterative testing, while webpack handles module bundling behind the scenes so multiple TypeScript files compile into a small number of production bundles.

🏏

Cricket analogy: Running yo @microsoft/sharepoint is like a franchise's pre-season nets session where all the standard training drills — fitness, catching, throwing — are set up automatically before players even arrive.

typescript
// Scaffold: yo @microsoft/sharepoint

import { BaseClientSideWebPart } from '@microsoft/sp-webpart-base';
import * as React from 'react';
import * as ReactDom from 'react-dom';

export interface IHelloWorldWebPartProps {
  description: string;
}

export default class HelloWorldWebPart extends BaseClientSideWebPart<IHelloWorldWebPartProps> {
  public render(): void {
    const element = React.createElement('div', { className: 'helloWorld' },
      `Hello, ${this.context.pageContext.user.displayName}!`
    );
    ReactDom.render(element, this.domElement);
  }
}

// Local iteration: gulp serve
// Production build: gulp bundle --ship && gulp package-solution --ship

Extensions: Field Customizers, Command Sets, Application Customizers

SPFx extensions modify existing SharePoint UI rather than being placed on a page. Field customizers change how a single list column renders (e.g., a progress bar instead of a plain number). Command sets add custom buttons or menu items to the command bar or a list item's context menu. Application customizers inject content into predefined page placeholders, such as a top banner or bottom footer region, and apply consistently across every page they're deployed to.

🏏

Cricket analogy: Field customizers are like a stadium's giant screen replay overlay that changes how a boundary rope looks without touching the actual pitch, just as they change how a list column renders without altering the data.

SPFx version compatibility is tied to the SharePoint Online service, not a specific tenant release cycle — Microsoft ships new SPFx versions roughly twice a year, and a package built against a recent SPFx version generally still runs because Online is evergreen. On-premises SharePoint Server (Subscription Edition), however, only supports specific pinned SPFx versions, so always check the target environment before choosing a generator version.

Packaging and Deploying to the App Catalog

Production solutions are built with gulp bundle --ship, which minifies and prepares assets, followed by gulp package-solution --ship, which produces a single .sppkg package. That package is uploaded to the tenant app catalog (for tenant-wide availability) or a site collection app catalog (for scoped availability), and static assets are typically hosted on a CDN referenced by the manifest for performance and caching.

🏏

Cricket analogy: Publishing the .sppkg to the tenant app catalog is like registering a new player with the ICC before they can appear in an international match — until they're listed, the officials won't let them onto the field.

Any web part or extension that calls the Microsoft Graph API through AadHttpClient requires the requested API permission to be explicitly approved by a SharePoint administrator on the 'API access' page of the SharePoint admin center. Until approved, calls fail with a 401/403 even though the code and manifest are correct, and this approval step is easy to forget during a first deployment.

  • SPFx is Microsoft's open-source, client-side framework for building web parts and extensions that run natively inside SharePoint Online pages.
  • Web parts extend BaseClientSideWebPart and are uniquely identified by a GUID in manifest.json.
  • Yeoman (yo @microsoft/sharepoint) scaffolds new projects; gulp drives build, serve, bundle, and package tasks.
  • Extensions come in three types: field customizers, command sets, and application customizers.
  • Solutions are packaged as a single .sppkg file and deployed through the tenant or site collection app catalog.
  • Static assets should be hosted on a CDN via gulp bundle --ship for production performance.
  • Graph API permissions requested by a component must be approved in the SharePoint admin center before calls succeed.

Practice what you learned

Was this page helpful?

Topics covered

#Programming#SharePointStudyNotes#TheSharePointFrameworkSPFx#SharePoint#Framework#SPFx#Web#StudyNotes#SkillVeris#ExamPrep

Frequently Asked Questions

21 categories · pick one to explore

Where can I get free study notes for programming and tech subjects?
SkillVeris offers completely free study notes covering programming and tech subjects, with no signup fees or paywalls. The notes are structured by course and topic, written for quick understanding, and enriched with the Learn Through Hobbies analogy method, so you can revise concepts through cricket, music, gaming, cooking and more.
Are SkillVeris study notes good for exam revision?
Yes, the study notes are designed for efficient revision: each topic answers its heading immediately, keeps explanations concise, and links to related glossary terms and cheat sheets. Students preparing for university exams or certification tests use them as quick revision notes because they distil concepts without the padding of full textbooks.
What subjects do the free study notes cover?
The study notes span the platform's main domains, including AI and machine learning, Python and programming, web development, DevOps, cloud, security and databases. Coverage mirrors the 37 live courses, so notes exist for the topics you are actually studying, and new note sets are added as courses launch.
How are SkillVeris study notes different from regular textbooks?
The notes are answer-first, concise and free, whereas textbooks are long and often expensive. Each section explains one concept directly, then reinforces it through selectable hobby analogies like cricket or cooking. Notes also cross-link to the glossary, blog and cheat sheets, letting you jump to related material instantly instead of flipping pages.
Can I use the developer study material without creating an account?
The study notes are free to access, and SkillVeris does not charge anything for its developer study material at any point. Browsing notes is straightforward from the Study Notes section, and if you want progress tracking, certificates and AI Mentor conversations tied to your learning, a free account unlocks those extras.
Do the study notes explain concepts with analogies?
Yes, this is a signature SkillVeris feature. Study notes use the Learn Through Hobbies method, explaining technical concepts through analogies from twelve domains including cricket, music, gaming, photography, travel, movies, fitness, chess, cooking, finance, business and sports. You can switch the analogy domain instantly to whichever hobby makes the concept click.
Are the revision notes suitable for last-minute exam preparation?
Yes, revision notes on SkillVeris work well for last-minute preparation because every section states the answer in its first sentences, so skimming is genuinely effective. Pair them with the relevant cheat sheet for formulas and syntax, and use the glossary for any unfamiliar term you meet while cramming.
Is there free study material for AI and machine learning?
Yes, SkillVeris provides free study notes across its AI and ML catalogue, covering Python for AI, deep learning frameworks like PyTorch and TensorFlow, Hugging Face Transformers, Large Language Models, RAG, AI agents and MLOps. All of it is free, making it a strong resource for Indian students and global learners alike.
Can beginners understand the study notes, or are they for experts?
Beginners can absolutely use them. The notes are written in plain language, define terms as they appear, and lean on hobby analogies to make abstract ideas concrete. Difficulty scales with the underlying course level, so beginner-course notes stay gentle while advanced-course notes go deeper, and the glossary supports you throughout.
How do study notes connect with SkillVeris courses?
Study notes are organised by course and topic, so they map directly to the structured courses and their 24–40-lesson curriculum. Many learners study a lesson first, then use the matching notes for revision before module assessments and the final exam, where 80 percent is required to pass and earn the certificate.
Are there study notes for Python specifically?
Yes, Python is well covered through notes tied to the Python-focused courses, including Python for AI and ML. Topics span fundamentals through applied machine learning usage. You can reinforce the notes with Python practice in Code Lab, which runs code in your browser with no installation required.
Do the study notes include code examples?
Yes, study notes include code examples wherever a concept is best shown in code, alongside explanations, key points and analogies. Reading a snippet in the notes and then reproducing it yourself in Code Lab is an effective loop, since Code Lab lets you run code in the browser across six languages.
How often is new study material added to SkillVeris?
Study material grows alongside the course catalogue. Whenever new courses join the platform's 37 live courses, matching study notes, glossary entries and cheat sheets are added so the resources stay in sync. Existing notes are also refined over time, so it is worth revisiting topics you studied earlier.
Can I use SkillVeris notes to prepare for technical interviews?
Yes, the notes make excellent interview revision because they compress each concept into direct, answer-first explanations, which mirrors how you should answer interview questions. Combine them with the SkillVeris interview questions feature, which includes readiness scoring, to test whether your revision has actually made you interview-ready.
Are the study notes mobile-friendly for studying on the go?
Yes, the study notes are built to load fast and read comfortably on mobile devices, so you can revise during a commute or between classes. Sections are short and answer-first, which suits small screens, and analogy switching works on mobile too, letting you study anywhere without carrying books.
What is the difference between study notes and cheat sheets?
Study notes explain concepts in depth with context, examples and analogies, making them ideal for learning and revision. Cheat sheets are compact quick-reference summaries of syntax, commands and key facts, ideal once you already understand a topic. Most learners study the notes first, then keep the cheat sheet handy while coding.
Do study notes help if I am stuck on a course lesson?
Yes, reading the matching study notes often clarifies a lesson because the same concept is explained from a different angle, frequently with a different analogy. If you are still stuck, ask the AI Mentor, which answers 24/7 at Quick, Detailed or Deep-dive depth until the idea genuinely makes sense.
Is there free study material for DevOps and cloud topics?
Yes, SkillVeris carries free study notes for DevOps and cloud topics as part of its coverage across 37 live courses. The material suits learners following the DevOps Engineer or Cloud Engineer paths, and it links to related glossary terms and cheat sheets so you can revise the whole toolchain in one place.
Can school or college students in India use these notes for projects?
Yes, students across India and worldwide use SkillVeris notes for coursework, projects and exam preparation, and everything is free, which matters for student budgets. The notes explain concepts clearly enough to cite in project reports, and Code Lab lets you prototype the project code directly in your browser.
How should I combine study notes with other SkillVeris resources?
A proven loop: learn from a course lesson, revise with the matching study notes, look up unfamiliar terms in the glossary, keep the cheat sheet open while practising in Code Lab, and quiz yourself with interview questions. The AI Mentor fills any remaining gaps 24/7, at whatever depth you need.

What Learners Say

Real journeys from the SkillVeris community — swipe for more.

SkillVeris taught me Python through Cricket. Now I’m building real projects and feeling confident!
Arjun S. · B.Tech Student
The best platform for hobby-based learning. Concepts finally stick.
Priya R. · Data Analyst
I went from zero coding to a portfolio of projects — all by learning through my love for gaming. Landed my first internship!
Kabir M. · CS Undergraduate
Trending Topics50 popular tags — tap to explore
Trending CoursesAll 37 free courses — tap to browse