blog
blog copied to clipboard
Building Modern SharePoint Web Parts in SPFx Using React Functional Components and Hooks
Building Modern SharePoint Web Parts in SPFx Using React Functional Components and Hooks
SPFx typically generates class component web parts by default. In this guide, we’ll begin by exploring the process of transforming these class components into functional components.
https://pnp.github.io/blog/post/spfx-webpart-using-react-functional-components-and-hooks/
Great blog post. What do you suggest we do with the main .ts file? The; WebpartNameWebPart.ts thats in the web part named folder.