-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Vanilla JS alternative? #63
Comments
Hi Will, thank you for the kind words. :) The library was started a long time ago when jQuery was the obvious choice, at least for me. But you are right, it would make sense to remove jQuery entirely as a dependency, maybe even throw in ES6 while we're at it and also provide a minified+polyfill version. |
Hey Liviu!
That would definitely be an interesting thing to see!
Making use of things like IntersectionObserver as well, for maximum
scrolling performance?
I’d be truly interested in that - especially with the general internet
migration to native rather than dependencies!
I’ve been trying to go as native as possible where I can, as well as only
polyfill when absolutely necessary (I have a little script I built out) -
I’d be super interested in seeing a vanilla variant of this (hit me up if
you want a beta tester!!!)! 👍🏻👍🏻👍🏻
…On Wed, 27 Feb 2019 at 17:36, Liviu Cristian Mirea-Ghiban < ***@***.***> wrote:
Hi Will, thank you for the kind words. :) The library was started a long
time ago when jQuery was the obvious choice, at least for me. But you are
right, it would make sense to remove jQuery entirely as a dependency, maybe
even throw in ES6 while we're at it and also provide a minified+polyfill
version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Apt9AtDtyYYkGU_WwwUxVwVOVxT4qoJeks5vRsIGgaJpZM4bPu4j>
.
|
Hi! I'm also highly interested in this topic. :D As Jquery was dropped off the project I had to replace your library with a plain and simple position sticky ; but that makes parts of the sidebar invisible unless your scroll to the end of the page (which can be a pain if you also use ajax loaded content on scroll on the main section). Cheers anyway for the great work so far! |
Hello!
Let me start by saying - great script/library! Super duper duper useful - thank you so much.
Question for you: Why the dependency on jQuery? Would a vanilla JS version be something you'd consider in the future? Plain Javascript is now on-part with jQuery in terms of features, and has the potential to even outperform - not only that, but it'd also alleviate some people having to load jQuery!
The text was updated successfully, but these errors were encountered: