I have started working on SharePoint Online. Where I have to use SPFX.
What is the Difference between SharePoint Framework (SPFx) Web Part and SharePoint Framework (SPFx) Extensions
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
Web parts allow you to create components that can be added by content editors as content on a page. Extensions add functionality to known areas of pages on an entire site or site collection, for example to add things in the header or footer of every page, or add menu options in a list toolbar. Extensions are often added by administrators.
Both use the SharePoint Framework (spfx).
Does it help?