How to fix SPFx projects & enable the React DevTools profiler

preview_player
Показать описание
By default, the build toolchain for #SharePoint Framework (#SPFx) projects that use #React isn’t supported by the React DevTools profiler tool. In this episode, you’ll learn why and how to fix it.

This video is also available as a blog post and our podcast as episode 008 via the following links:

📚 Additional Resources:
----------------------------------------

🎧 Chapters / Show Notes
-------------------------------------------
00:00 : Intro
01:27 : React DevTools Profiler Error
02:24 : The issue with SPFx projects
03:12 : Understanding how SPFx bundles are generated
05:17 : Fix #1: Include React in the generated bundle
07:38 : Fix #2: Swap out React with a React profiler bundle

🔗 Links
---------------

#sharepointframework
Рекомендации по теме
Комментарии
Автор

Oh and also thanks for both the blog post and the matching video. I like the format. For some reason I "get" video explanations better the first time. Then I go back and review the blog post and am able to copy-paste stuff out easier.

buzzlightbeer
Автор

Thanks for directing me here from your Discord channel. Both resources are really helpful! I also skimmed through the blog post and watched the video from Brian Vaugn that you referenced. I think I now have a few more things to learn. The bonus for me was seeing examples of what memoize is and how it works. Thanks!

buzzlightbeer