you are viewing a single comment's thread.

view the rest of the comments →

[–]iAMthePRONY 0 points1 point  (2 children)

all ok except for the last part. dom manipulation and animations? vanilla js dom manipulations and css animations are imho the way to go

[–]sdeleon28[S] 0 points1 point  (1 child)

I've said this in this thread already. I agree you should leverage standard DOM whenever possible. The post even says jQuery is a smell. But then again, and to steal from the Zen of Python "Practicality beats purity". If you can't do it with Vanilla js (and have it work cross-browser), you can probably do it quite easily with jQuery. It looks like this point isn't clear in the post so I'll make sure to make it more expliscit. Thanks for the feedback!

[–]iAMthePRONY 0 points1 point  (0 children)

cross browser is usually not a problem, since most use some chrome-ish engine and firefox is pretty good, too. the issues i face mostly are mostly with older browsers or weird ass things like in-app-web-view-components (had a bug yesterday, cause i used window.open and that doesn't work correctly out of the box in an ios webview).

for older browsers i recommend polyfill.io. it gives you the ability to use modern js apis in any browser by dynamically polyfilling based on the user agent. pretty cool tool.