Image for post
Image for post
Photo by Vincentas Liskauskas

Sliders (or carousels) are some of the most common elements in almost any website these days, regardless of how you feel about them they can offer a convenient way of displaying information specially when screen size is limited.

In e-commerce websites use cases range from displaying featured products, banners, promotions, product galleries, you name it! There’s no shortage of these bad boys in the wild even though their effectiveness is a bit controversial it’s one of those things users are used to seeing so it provides a low-friction experience for most people.

Image for post
Image for post
Style feed in asos.com using a slider

Luckily for us frontend developers there are hundreds of Javascript-based sliders out there to choose from, unfortunately most of them share the same draw back: they are terrible for performance, and believe me when I say it because I’ve used all of them, every single one of them¹. …

About

Javier Villanueva

Lead Developer at Media Lounge · 6x Magento Certified & Full Stack Developer · E-Commerce Specialist · Currently @ Bournemouth, UK

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store