In this episode of the SPFx for Beginners 2025 series, we explore why and how to refactor your SPFx web parts from traditional class-based components into modern React functional components. ⚡
You’ll learn:
• The advantages of using functional components in SPFx projects
• How React Hooks (like useState and useEffect) simplify your code
• A step-by-step refactor of a classic class-based web part into a functional one
🔔 Subscribe to keep following along in the series—perfect for anyone new to SharePoint Framework or modern Microsoft 365 development. Future episodes dive deeper into reading SharePoint lists, using @pnp/sp, and building more advanced solutions.
✨ Play the full series here: [Insert Playlist Link when ready]
📌 Topics covered: SharePoint Framework (SPFx), React Hooks, Functional Components, Microsoft 365 Development, Web Part Refactoring
#SharePoint #SPFx #Microsoft365 #React #Tutorial
☕️ Support us with a coffee! (Or.. beer 🍺)
https://www.buymeacoffee.com/robertsd...
📧 📫 Join us on our developer journey! Sign up to our email newsletter:
https://robertsdevtalk.com
🐦 Follow us on Twitter:
/ robertsdevtalk
🎶 Music by Epidemic Sound:
https://www.epidemicsound.com/referra...
Icons in this video kindly provided by FlatIcon from Freepik
https://www.freepik.com
https://www.flaticon.com
Disclaimer - some of our links are affiliate links, which means that we receive a small commission for any sales made via those links, at no extra cost to you - so a great way to support our channel! Thank you so much for your support 😊