• kevincox@lemmy.mlM
    link
    fedilink
    arrow-up
    9
    ·
    10 hours ago

    Why are these TypeScript + JSX rather than just SVGs? It seems that the paths are defined as SVG but they are using some JavaScript framework to define the animations rather than just using SVG or CSS animations.

    • SirQuackTheDuck@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      9 hours ago

      Because they’re using events and downloading a few megabytes of extra javascript framework is, of course, a way better option than six lines of SVG stylesheets.