Skip to content

Standardisation of JavaScript libraries and integration of necessary functions also for the later creation of a theme #34595

Open
@in-session

Description

@in-session

I would now like to raise a fundamental question: Would it not make sense to better standardise the modules in the future?
Perhaps the community could also be involved a little more in the development or survey.

As a small example for the slides:
Pagebuilder uses slick slider, 50% per module developer use owl or swiper.

I therefore ask myself why, in this case, one doesn't decide in favour of the Swiper, for example.
I, for example, also build everything using swiper, as it has the best functions, requirements and adaptability for me. To be honest, this is always the problem that everything has to be rewritten and that simply costs a lot of time. And even if you are more involved with Magento, it would be very good to have a script template catalogue here. Then the module builders would also stick more to the internal things and build on them. Of course, Magento Luma is supposed to be a lightweight template, but in my opinion it doesn't make sense to use a library that no one will need afterwards. Why owl is used by module developers is mostly due to the customisability of slick slider.

References: https://npmcharts.com/compare/slick,swiper,owl.carousel?interval=360
https://github.com/kenwheeler/slick
https://github.com/OwlCarousel2/OwlCarousel2
https://github.com/nolimits4web/swiper

Swiper is also possible for

  • React
  • Svelte
  • Vue
  • Angular
  • JS Modules

It is also not dependent on jquery unlike slickslider, which simplifies the subsequent design.

Related Lazyload: #34596

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Ready for Grooming

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions