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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 2016-11-16-react-v15.4.0.md #8339

Merged
merged 1 commit into from Nov 18, 2016
Merged

Conversation

nolanlawson
Copy link
Contributor

Edge and IE11 both show user marks and measures in the Dev Tools, so it's technically not accurate to say that only Chrome has this feature.

Here's what this looks like in Edge:

2016-11-17 15_39_03-react app - microsoft edge

BTW thank you for聽promoting performance.mark() and performance.measure(). 馃槂 Surfacing this info into the Dev Tools makes webdevs much more likely to use these APIs, and they're incredibly useful for telemetry, performance analyses, etc. It's great to see React leading on this.

Edge and IE11 both show user marks and measures in the Dev Tools, so it's technically not accurate to say that only Chrome has this feature.
@@ -41,7 +41,7 @@ To use it:

Note that the numbers are relative so components will render faster in production. Still, this should help you realize when unrelated UI gets updated by mistake, and how deep and how often your UI updates occur.

Currently Chrome is the only browser supporting this feature, but we use the standard [User Timing API](https://developer.mozilla.org/en-US/docs/Web/API/User_Timing_API) so we expect more browsers to add support for it.
Currently Chrome, Edge, and IE are the only browsers supporting this feature, but we use the standard [User Timing API](https://developer.mozilla.org/en-US/docs/Web/API/User_Timing_API) so we expect more browsers to add support for it.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we specify that this is IE11, since IE9 and IE10 are still supported by React.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The feature itself (user timings) has been in there since IE10, and Firefox supports it too (caniuse). However I'm not sure if IE10 DevTools actually surfaces it; I'd have to grab a Windows VM and test.

My understanding was that the point here was to indicate which browsers support surfacing the user timing info to Dev Tools, since otherwise we should mention Firefox too for completeness.

@gaearon
Copy link
Collaborator

gaearon commented Nov 18, 2016

I think it's fine, "currently" sorta implies recent versions. Thank you so much, I had no idea!

@gaearon gaearon merged commit 919aa36 into facebook:master Nov 18, 2016
gaearon added a commit that referenced this pull request Nov 18, 2016
Update 2016-11-16-react-v15.4.0.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants