• Norgur@kbin.social
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    1 year ago

    Found the backend dev. “CUT THIS AESTHETICS NONSENSE! GIMME THE VARIABLE CONTENTS ALREADY! WE’RE 3.54 NANOSECONDS BEHIND!”

    • Dasnap@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Frontend: “Come on, this needs at least some flair. This isn’t the 90s.”

      Throws React at it

      • voxel@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        yeah, just css is enough.
        you don’t need js unless you need to fetch data dynamically.
        you can do all of your animations, dropdowns and transitions in css.
        like this menu i made. no js in sight.

        https://streamable.com/4ba0gg

        also fully accessible and you can tab right into it without clicking enter or whatever
        (and respects prefers-reduced-motion)