mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove "first-input" event type from Event Timing API logging implementation (#35771)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/35771 [Changelog][Internal] Based on the internal discussion, we don't want to report `first-input` event types for RN (just use plain `event` instead), in the way that [Event Timing API standard suggests](https://www.w3.org/TR/event-timing), as this is doesn't have that clear semantics in the context of RN, also to keep it simpler. Reviewed By: rubennorte Differential Revision: D42341923 fbshipit-source-id: eff2487dee17ef082604e4c807b4d41485328114
This commit is contained in:
committed by
Facebook GitHub Bot
parent
805b88c7a4
commit
3aea05651d
@@ -18,8 +18,6 @@ static PerformanceEntryType stringToPerformanceEntryType(
|
||||
return PerformanceEntryType::MEASURE;
|
||||
} else if (entryType == "event") {
|
||||
return PerformanceEntryType::EVENT;
|
||||
} else if (entryType == "first-input") {
|
||||
return PerformanceEntryType::FIRST_INPUT;
|
||||
} else {
|
||||
return PerformanceEntryType::UNDEFINED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user