solidusio / solidus_starter_frontend

🎨 Rails-based starter kit for your Solidus storefront.
BSD 3-Clause "New" or "Revised" License
56 stars 37 forks source link

Remove jQuery #76

Open dinohamzic opened 4 years ago

dinohamzic commented 4 years ago

Now that we rewrote and decoupled the JavaScript codebase from the Solidus one (and jQuery), we should find a way to exclude jQuery from being included in the frontend.

my-very-own-account commented 3 years ago

No, please keep it! :)

It makes the code so much cleaner and easier-to-understand in my humble opinion, and the people who say jQuery is dead are usually the same people who say Rails is dead.

Granted, jQuery did mess up by joining and supporting useless projects like jQuery UI and jQuery Mobile. I should know, I lost $30.000 when jQuery Mobile was abandoned and my app was left to rot :(

But the way I see it, we use jQuery for the same reason we use SCSS instead of CSS.

xeruf commented 2 years ago

the difference is that SCSS compiles to pure CSS and thus eases development without directly impacting the result, while jQuery is an actual library to load which can slow down the application

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions.