Replies: 2 comments 6 replies
-
Hi Thanks for your work. I would like to try these updates of yours on my RWD based MIMIC theme (featured in the themes section). Can you share the steps to perform and the files to replace? Thank you. |
Beta Was this translation helpful? Give feedback.
6 replies
-
This was achieved in #3204. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently I started to update a frontend theme from 2016 and I was able to use the latest JQuery v3.6.0 getting only a few issues (fixed already) .
As you may know Magento Team included JQuery library in Magento. It is located in this directory /js/lib/jquery. I would suggest to updated these versions by adding the latest versions 1 and 3, also the migrate scripts for both.
This mean the actual files must be removed from distribution then added versions 1.12.4 and 3.6.0. A few template/layout files must be updated too. Any theme that uses JQuery should use this versions to avoid any security issues. A lot of themes come with their own scripts and this can create trouble.
Probably you are aware there is a strong current against JQuery and its elimination by going back to vanilla JS but I am a person who can recognize the benefits of using JQuery in the future. For almost 30 years I have been in this industry and I have seen how something is raised in glory and then demolished. We started 20 years ago with vanilla JS, then libraries were created, and then we came back. The wheel has often been reinvented and is valid in other fields.
Beta Was this translation helpful? Give feedback.
All reactions