▲ 209 ▼ Frontend vs backend (lemmy.ml) submitted 3 years ago by HiddenLayer5@lemmy.ml to c/programmerhumor@lemmy.ml 46 comments fedilink hide all child comments
[–] Dasnap@lemmy.world 15 points 3 years ago (2 children) Frontend: "Come on, this needs at least some flair. This isn't the 90s." Throws React at it permalink fedilink source parent hideshow 4 child comments replies: [–] residentmarchant@lemmy.world 6 points 3 years ago React ugh, everybody is using NextJs these da- ....oh, what's that? We've moved on already? permalink fedilink source parent [–] vox@sopuli.xyz 5 points 3 years ago* (last edited 3 years 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) permalink fedilink source parent
[–] residentmarchant@lemmy.world 6 points 3 years ago React ugh, everybody is using NextJs these da- ....oh, what's that? We've moved on already? permalink fedilink source parent
[–] vox@sopuli.xyz 5 points 3 years ago* (last edited 3 years 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) permalink fedilink source parent