SAFE-Search
SAFE-Search copied to clipboard
Question - React DevTools profiler and components view
Hi,
Is React profiler and components view supposed to work when viewing this demo in Chrome or Firefox?
As far as I could see in SAFE documentation it should be supported but I can only see one "Anonymous" component in the Components view (non-expandable).
Thank you
Should be, yes. I'll have to dig out the code for this to confirm - it's possible we have some incorrectly configured webpack here.
If you want to prove / see how SAFE works with React Profiler & Components in general, have a look at the SAFE Dojo or Bookstore - they all definitely work with it.
Thank you - I can confirm it works just fine in the Bookstore project. Reason I was asking was that it does not work (at least for me) even on fresh projects created using dotnet new
so I wanted to confirm.
@sajagi give us a week or so - we're working on the v2 SAFE template which will be much more lightweight and will resolve many issues like this.