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
-
rafaelgss436y@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 -
rafaelgss436y@norman70688 Yep! But, functions that manipulate CSS to wrote is totally unproductive
-
rafaelgss436y@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.
-
rafaelgss436y@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. -
Froot75546yDude, 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 -
Froot75546y@hack Hmmmm come to think of it I haven't looked into filters regarding the performance. Interesting 😋
Related Rants
-
tahnik63So I need to create a nice new web app. Let's look at some cool JS frameworks that I can work with. *5 mins l...
-
ahmedam23What only relying on JavaScript for HTML form input validation looks like
-
Kalvin17How does a front-end developer get away with murder? $('body').hide(); //I'll see myself out
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