Giter Club home page Giter Club logo

Comments (9)

nathobson avatar nathobson commented on July 3, 2024 1

To be perfectly honest, the native Intersection Observer API is so straightforward that it probably makes sense just to use that rather than a library unless you had a particular requirement that the library solves.

from in-view.

mreinstein avatar mreinstein commented on July 3, 2024 1

the native Intersection Observer API is so straightforward that it probably makes
sense just to use that rather than a library

Yes, I agree with that. However, in-view is an existing library, it's being used in various places already. Ideally it's internal implementation would be as efficient as possible, and adopting intersection observer under the hood means anyone using this library gets better performance automatically. We should be doing this.

from in-view.

allenhwkim avatar allenhwkim commented on July 3, 2024

The link https://wicg.github.io/IntersectionObserver/ is not found

from in-view.

johanneslamers avatar johanneslamers commented on July 3, 2024

Yes!

from in-view.

bre7 avatar bre7 commented on July 3, 2024

Working link: https://github.com/w3c/IntersectionObserver.

Polyfill: https://github.com/w3c/IntersectionObserver/tree/gh-pages/polyfill

from in-view.

rgfx avatar rgfx commented on July 3, 2024

I found this library that seems to work with intersectionObserver with IE. https://github.com/russellgoldenberg/scrollama

from in-view.

mreinstein avatar mreinstein commented on July 3, 2024

The only browsers that don't support IntersectionObserver are ie and safari. It's in the technical preview for safari so it's coming. Seems like a really great addition at this point!

from in-view.

nathobson avatar nathobson commented on July 3, 2024

Intersection observer has now landed in Safari :)

from in-view.

guirreri avatar guirreri commented on July 3, 2024

@camwiegert are there any plans to implement this?

from in-view.

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.