this post was submitted on 08 Sep 2023
541 points (94.1% liked)

Programmer Humor

19589 readers
544 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 9point6@lemmy.world 14 points 1 year ago* (last edited 1 year ago) (3 children)

I'd agree with you if you were saying this about 8 years ago, but IMO the post-jQuery-front-end dust has settled and the "best" (in terms of what most organisations end up choosing) hasn't really changed in a while.

  • Typescript unless you've got a really good reason not to.
  • React if you have anything remotely complex.
  • Webpack (or one of the wrappers) to bundle it up.

Sure, someone may like a React alternative, and that's completely fine. But at the end of the day, most companies are using React because it's basically industry standard at this point, and it's got too much momentum behind it for that to change any time soon.

I'd say the back end is where all the choice is these days

[–] zebbedi@lemmy.world 4 points 1 year ago (1 children)

Webpack..... Aren't you on the vite train?

[–] railsdev@programming.dev 0 points 1 year ago

Ha! Webpack. I ripped that shit out as soon as import maps were added to Rails; I cut my Docker image size by 50% and kissed Node goodbye.

[–] Strawberry@lemmy.blahaj.zone 2 points 1 year ago (1 children)

We must be in different organization circles because almost every frontend I've seen at my jobs or those of my friends at other organizations uses Angular

[–] Phen@lemmy.eco.br 4 points 1 year ago

I'll be honest, I think it's been years since I last saw anyone even mention Angular anywhere.

[–] fidodo@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

Maybe I'm just too used to it, but with next.js static site generation I find react to also work really well for simple sites too. If you're not dealing with state, react is basically just functions that return templated html. IMO it's pretty sleek for static websites since tsx let's you do basic templating with functions.