Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question - React DevTools profiler and components view #32

Open
sajagi opened this issue Jun 13, 2020 · 3 comments
Open

Question - React DevTools profiler and components view #32

sajagi opened this issue Jun 13, 2020 · 3 comments

Comments

@sajagi
Copy link

sajagi commented Jun 13, 2020

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

@isaacabraham
Copy link
Member

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.

@sajagi
Copy link
Author

sajagi commented Jun 15, 2020

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.

@isaacabraham
Copy link
Member

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants