React-devtools: Profiler: Always show profiler tab (even when profiling not supported)

Created on 27 Aug 2018  路  5Comments  路  Source: facebook/react-devtools

Show Profiler tab _always_ (not just if a profiling capable build of React is present). This tab can be used to up-sell a React upgrade if the version is too old to support profiling.

enhancement profiler

Most helpful comment

Because I only upgraded react but not react-dom. Whoops! dw about it. Working perfectly now

All 5 comments

Should the profiler tab always show up (today) when react@^16.5.0 & [email protected] (as Chrome extension) are installed?

No. react-dom 16.5+ supports profiling in DEV mode. A production profiling bundle is also available as react-dom/profiling. fb.me/react-profiling

Production mode doesn't support profiling, so the tab won't show.

Ah, I'm using DEV mode but not seeing the profiler tab as it appears in the blog post

Because I only upgraded react but not react-dom. Whoops! dw about it. Working perfectly now

React DevTools has been rewritten and recently launched a new version 4 UI. The source code for this rewrite was done in a separate repository and now lives in the main React repo (github.com/facebook/react).

Because version 4 was a total rewrite, and all issues in this repository are related to the old version 3 of the extension, I am closing all issues in this repository. If you can still reproduce this issue, or believe this feature request is still relevant, please open a new issue in the React repo: https://github.com/facebook/react/issues/new?labels=Component:%20Developer%20Tools

Was this page helpful?
0 / 5 - 0 ratings