The way animations are done in react native for instance, is that you use JS to define the animation and send it to the native code which actually executes it.
JS should just do the same in the browser instead of relying on an arcane language not designed for this
loading story #41452330
loading story #41452280
loading story #41454742
loading story #41457020