Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
rafaelgss426y@irene
TL;DR:
JQuery lib is too large, totally unnecessary for projects actually.
But, the functions like `slideUp` , `slideDown` of JQuery, is totally useful, so... I do not knows another lib that only has these function. Do you know ? -
you mean animations?
web frameworks like react or vue have some competent animation docs
anim. libraries? anime, velocity come to mind
vanilla? css transitions
you guys are confusing op a bit -
rafaelgss426y@norman70688 Yep! But, functions that manipulate CSS to wrote is totally unproductive
-
rafaelgss426y@jesustricks Yep, css animations. But, for migration of project JQuery to Vanilla without re-wrote the animations of zero, maybe a small lib that makes this.
-
rafaelgss426y@norman70688 But, the same div has a delay of 200 when clicking on the button, has delay 500 when focused element. Wrote another CSS for it, is unproductive,
To repeat, a lib specifies this, it would be useful. -
Froot75396yDude, just use CSS transitions. They are the most efficient way of doing it beside some JS libraries that focus on animations.
Also, if you animate anything other than transforms or opacity you're throwing the speed benefit out the window anyway -
Froot75396y@hack Hmmmm come to think of it I haven't looked into filters regarding the performance. Interesting 😋
Related Rants
Peoples saying that JQuery dies after Document.querySelector is gone, but, write the functions like `slideUp` or anything that manipulates styles too, is very non-productive.
Do you know another lib (small) that makes these functions created by JQuery?
question
esm
es6
javascript
js
jquery