Re:A tale of webpage speed, or throwing away React
by dsego on Monday August 24, 2020 @08:33AM
(#24259970)
On top of that, js animations are still better for controlling timing and events or for a more realistic natural motion (springs instead of timed easing).
[ Parent
| on HN ]
Re:A tale of webpage speed, or throwing away React
by heavenlyblue on Monday August 24, 2020 @08:51AM
(#24260102)
I would say that what JS animations are even better at is justifying inflated budgets of the projects made for people who are not very familiar with tech.
Is there ever a real reason for animations that doesn't make the interface feel sluggish and unresponsive? In the other hand if you actually set the animation delay to something incredibly low, all of your animation needs could be easily solved by animating the transparency of the appearing elements.
Re:A tale of webpage speed, or throwing away React
by mattmanser on Monday August 24, 2020 @12:26PM
(#24262215)
Animations are effective, and I say that as someone who really hate slow ones.
If you start paying more attention to the apps you use, especially ones made by bigger companies, and you'll notice how effective some of them can be.
Re:A tale of webpage speed, or throwing away React
by heavenlyblue on Thursday August 27, 2020 @11:28AM
(#24294629)
Is the latest version of Google Calendar web interface a good example?
I don't think it is. And it's from a company which can afford a lot of development resources for that.
Re:A tale of webpage speed, or throwing away React
by recursive on Monday August 24, 2020 @05:26PM
(#24265712)
You can use it to make your UI more obvious. If you hit "Delete", the item might shrink and slide (within say 200ms) into the "trash can". This way the user knows they can undelete from the trash can.