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:
Ruslan Shestopalyuk
2023-01-04 08:29:15 -08:00
committed by Facebook GitHub Bot
parent 805b88c7a4
commit 3aea05651d
7 changed files with 7 additions and 35 deletions
@@ -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;
}