HiddenLayer5@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoFrontend vs backendlemmy.mlimagemessage-square138fedilinkarrow-up12.13Karrow-down121
arrow-up12.11Karrow-down1imageFrontend vs backendlemmy.mlHiddenLayer5@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square138fedilink
minus-squareDasnap@lemmy.worldlinkfedilinkarrow-up68arrow-down2·1 year agoFrontend: “Come on, this needs at least some flair. This isn’t the 90s.” Throws React at it
minus-squareresidentmarchant@lemmy.worldlinkfedilinkarrow-up18·1 year agoReact ugh, everybody is using NextJs these da- …oh, what’s that? We’ve moved on already?
minus-squarevoxel@sopuli.xyzlinkfedilinkarrow-up5·edit-21 year agoyeah, 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)
Frontend: “Come on, this needs at least some flair. This isn’t the 90s.”
Throws React at it
React ugh, everybody is using NextJs these da- …oh, what’s that? We’ve moved on already?
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)
Get outta of here !
/s