Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Practical SharePoint Framework (SPFx) Development

You're reading from   Practical SharePoint Framework (SPFx) Development Build modern, scalable, and efficient business solutions for SharePoint and Microsoft 365

Arrow left icon
Product type Paperback
Published in Jun 2025
Publisher Packt
ISBN-13 9781835466780
Length 442 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Franck Cornu Franck Cornu
Author Profile Icon Franck Cornu
Franck Cornu
Anoop T. Anoop T.
Author Profile Icon Anoop T.
Anoop T.
Arrow right icon
View More author details
Toc

Table of Contents (29) Chapters Close

Preface 1. Part 1: Getting Started with the SharePoint Framework
2. Chapter 1: Introducing Microsoft 365 and SharePoint Online for Developers FREE CHAPTER 3. Chapter 2: Ecosystem and Building Blocks around the SharePoint Framework 4. Chapter 3: Your First Steps with the SharePoint Framework 5. Chapter 4: Packt Product Management Solution: A Practical Use Case 6. Part 2: Building Web Parts with the SharePoint Framework
7. Chapter 5: Building a SharePoint Web Part 8. Chapter 6: Working with the Property Pane 9. Chapter 7: Connecting to Other Web Parts 10. Chapter 8: Deploying a SharePoint Web Part 11. Part 3: Building Extensions with the SharePoint Framework
12. Chapter 9: Building a Form Customizer 13. Chapter 10: Building an Application Customizer 14. Chapter 11: Building a Field Customizer 15. Chapter 12: Building a ListView Command Set 16. Chapter 13: Building a Search Query Modifier 17. Chapter 14: Building an Adaptive Card Extension 18. Chapter 15: Deploying Extensions 19. Part 4: Going Further with the SharePoint Framework
20. Chapter 16: Sharing Your Code Using Library Components 21. Chapter 17: Debugging Your Solution Efficiently 22. Chapter 18: Consuming APIs 23. Chapter 19: Writing Tests with SPFx 24. Chapter 20: Upgrading Your Solutions 25. Chapter 21: Leveraging Community Tools and Libraries 26. Chapter 22: Development Platforms 27. Index 28. Other Books You May Enjoy

Comparing npm packages with SPFx library components

Library components are not the only way to mutualize software code for SPFx solutions. You can also use traditional npm packages and consume them as dependencies in your code through the package.json file, using the same linking mechanism (using npm link). However, in such cases, you will be responsible for the package publishing process (for instance, as part of your DevOps process) and need to use a dedicated platform to host and distribute these packages to your consuming solution. Also – and because in an enterprise scenario, you likely won’t publish your packages publicly – the chosen hosting platform needs to support private packages. Among them, we can mention the most popular ones:

  • npmjs.com through private packages
  • Azure Artifacts on Azure DevOps
  • GitHub Packages on GitHub Enterprise
  • JFrog Artifactory

The following table summarizes the npm package and SPFx library component options...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Practical SharePoint Framework (SPFx) Development
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon