• kevincox@lemmy.mlM
    link
    fedilink
    arrow-up
    8
    ·
    9 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
      7 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.

      Edit: forgot a /s