Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Documentation for "Trace React Updates" #335

Closed
CodyReichert opened this issue Feb 27, 2016 · 5 comments
Closed

Documentation for "Trace React Updates" #335

CodyReichert opened this issue Feb 27, 2016 · 5 comments

Comments

@CodyReichert
Copy link

Is there any place to read about what information "Trace React Updates" is giving me? Sometimes traces are different colors (blue, green, red) and I'd like to know what those mean but could find anything out there.

Related threads:
#327
#297

@stipsan
Copy link
Contributor

stipsan commented Feb 29, 2016

This is the code that decides what color to show you:

const color = COLORS[data.hit - 1] || HOTTEST_COLOR;

and this is where data.hits get incremented:

The shorter the time is between each time an update happens the hotter the color.

@CodyReichert
Copy link
Author

Thanks, @stipsan - I'll check that out! Any chance of a documentation PR getting merged for this (from me or anyone else)? If so, what would be the best place to add it?

@stipsan
Copy link
Contributor

stipsan commented Mar 2, 2016

I'm going to submit a PR about a related issue, see: #337
It was suggested to add it to the readme FAQ.

@bratberg
Copy link

What the colors actually looks like:
screen shot 2017-03-27 at 10 29 19

@bvaughn
Copy link
Contributor

bvaughn commented Aug 19, 2019

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

@bvaughn bvaughn closed this as completed Aug 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants