Code Monkey home page Code Monkey logo

Comments (4)

philipwalton avatar philipwalton commented on May 24, 2024 3

Yeah, unfortunately carousel's are problematic for LCP, and this is something we're actively looking into making better.

Right now we have an experimental implementation in Chrome 85 to not discard elements removed from the DOM, which should help most carousel cases, but we need to gather data on that first to make sure it doesn't have other unintended consequences.

I know "we're working on it" probably isn't the most satisfying answer, but it is the reality of the current situation.

For the perspective of this library, it's working as intended because it's just reporting what the underlying web API is reporting. And any changes we make to the web API to better handle carousel cases should not require any changes to this library.

from web-vitals.

psabharwal123 avatar psabharwal123 commented on May 24, 2024

hi @philipwalton thanks for the reply, please let us know if there was an update to this issue. LCP is a very important metric since its part of web vitals which will be a ranking factor for SEO in the future, i really hope we won't be penalized for using a carousel because our users seem to love that feature :) For testing purposes you can visit our production site https://www.pogo.com/

from web-vitals.

philipwalton avatar philipwalton commented on May 24, 2024

The latest update is it's looking like our experimental implementation to not ignore removed DOM elements was successful and will land, so LCP should be much more carousel-friendly in the near future (most likely in Chrome 88).

Since this issue doesn't require any changes to this library, I'm going to close this issue.

from web-vitals.

psabharwal123 avatar psabharwal123 commented on May 24, 2024

Thanks!

from web-vitals.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.