A javascript solution for an infinite scroll effect without using jQuery
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
src
.eslintrc
.gitignore
Gruntfile.js
README.md
package.json

README.md

infiniteScroll

This is an implementation for the infinite scroll effect in javascript without using jQuery.

Lately I am seeing myself writing vanilla javascript so I can understand a little bit more how the DOM works.

These days there a lot of talk about that you might not need jquery 😱

You can see it in action visiting my twitter clone or downloading this repo or cloning the repo.

At the end I've used es6 import and export features and bundeling them with watchify.

Yes, doing infinite scroll with jQuery is 🚀, mine is like 70+- lines long but with support with browsers with userAgent Trident, Firefox, AppleWebKit

> git clone https://github.com/byverdu/infiniteScroll.git
> cd infiniteScroll
> npm install
> http-server
# doing some changes changes
> npm run watchify
> grunt

Visit http://127.0.0.1:8080/dist/

Here you can find a version that uses es5