3 ms·
JQuery is often used in popular front end components, like carousels and menus. How do you approach something like slickjs? Or SmartMenus? Both of these are qu
by andrei_says_ 8y ago
JQuery is often used in popular front end components, like carousels and menus.
How do you approach something like slickjs? Or SmartMenus? Both of these are quite polished, with well thought-out APIs, and have solved for hundreds of issues and corner cases.
I’m not sure that it would be wise to go for a DIY solution in such cases.
What’s your experience?
- jazoom 8y agoI've always just looked for one that doesn't use jQuery. Haven't had trouble finding one for at least a year. Nowadays I always find there's already a Vue component that's a wrapper for whatever library.
- Can_Not 8y agoVueJS has a few carousel libraries. Most are pretty good, although I also assume that the one you mentioned is ~5 years older (therefore more mature). Typically the issue is usually picking one that works with your CSS framework or learning for the first time how to wrap a vanillajs library in a Vue component definition. Bootstrap 4 and Bulma have great libraries that implement their features (e.g. tabs, drop-down menus, navs, etc.).