Refactored Instagram Stories Slick Slider
✅ 2 instances on page
✅ CMS driven
✅ Initialize on scroll into view
Let's look at what goes in to refactoring a popular cloneable so it's more "production grade."
This was a challengning one! Lots of code concepts going on here, in particular how to modularize and reuse code that's already been written. This solution could be more modular and we could make it work for even more instances but 2 is good for now because I'm not too familiar with jQuery. Part of me feels like I would prefer to just rewrite this whole thing in Javascript with Swiper (already has autoplay!) but when the client wants something, the client wants something.
Original: https://webflow.grsm.io/cloneable-is-bae?sub1=Stories-by-BuildBites