Feedback: jQuery update v3.5.1

Feedback or questions on this?

Please comment below :point_down:

1 Like

Hi @forresto,

Thanks for the update. Back to 100 points in Best Practices soon.

As long as we don’t use regex in Jquery scripts, we should be fine, right ?

@ColibriMedia it’s a more-specific pattern of use than that.

I made a code sandbox to be able to test jQuery code between the two versions: boring-butterfly-17ns5 - CodeSandbox

:point_up: anybody can use that as a starting place to test custom code that you might be worried about. You can see the different jQuery versions pulled in at the end of the two html files.

With 3.4.1

$("<div/><div/>") becomes <div></div><div></div> (fragment with two divs):

With 3.5.1

$("<div/><div/>") becomes <div><div></div></div> (nested):

3 Likes

Hey there!
I just started working with webflow, and I used one of the templates on the website.
When I checked my website in PageSpeed Insights I saw that the jQuery version is 3.4.1 and not the latest. How can I upgrade it?
Thanks!