Skip to content

feat(packages/sui-react-web-vitals): update web-vitals to v5#1979

Merged
mateiubianca merged 1 commit intomasterfrom
chore/sui-react-web-vitals/update-web-vitals
Apr 8, 2026
Merged

feat(packages/sui-react-web-vitals): update web-vitals to v5#1979
mateiubianca merged 1 commit intomasterfrom
chore/sui-react-web-vitals/update-web-vitals

Conversation

@mateiubianca
Copy link
Copy Markdown

Description

  • update web-vitals to v5, and removed the FID Metric as it was no longer supported
  • fix eventType property not accessed correctly from the attributions object
  • fix wrong target property for LCP event
  • use attribution properties for INP subparts instead of manual calculation
  • remove entries processing for INP and LCP, as the entries array are raw browser entries, and don't contain processed attributions that are used when logging the metric
  • add browserEngine tag to logger distribution with the following possible values:
    • WebKit
    • Gecko
    • Blink
    • Other

BREAKING CHANGES:

removed the FID Metric

Related Issue

Example

update web-vitals to v5, and removed the FID Metric as it was no longer supported  add browserengine

BREAKING CHANGES:

removed the FID Metric
@mateiubianca mateiubianca merged commit 5806ad6 into master Apr 8, 2026
2 checks passed
@mateiubianca mateiubianca deleted the chore/sui-react-web-vitals/update-web-vitals branch April 8, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants