• kevincox@lemmy.mlM
    link
    fedilink
    arrow-up
    15
    ·
    18 days 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
      22
      ·
      edit-2
      18 days 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