Skip to content
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

Open
willstocks opened this issue Feb 25, 2019 · 3 comments
Open

[Question] Vanilla JS alternative? #63

willstocks opened this issue Feb 25, 2019 · 3 comments

Comments

@willstocks
Copy link

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!

@liviucmg
Copy link
Member

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.

@willstocks
Copy link
Author

willstocks commented Feb 27, 2019 via email

@Nincha
Copy link

Nincha commented Sep 12, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants