3

WHY IS REACT SO POPULAR FML

Fuck Redux and sagas. Why can't you just be normal MVC?

Comments
  • 1
    Because it is originally meant to only be the V in your application. Not the entire MVC point.
  • 1
    @AleCx04 so if it's only the V, why is the templating so messed up?

    I mean, there are loads of nice templating patterns, and *poof* we're suddenly spaghetti-ing JS and HTML.
  • 2
    I love it... Sorry 😘
  • 2
    @wildebeest and there my good friend you have discovered the current situation regarding programming hypocrisy.
    You see. Before, people would bitch at coldfusion, classic asp, jsp, apache server pages, php and other for mixining views with logic. An age old debate teally. Along came jsx in a shiny new node.js frontend framework and everyone turned into hypocrites. The people that bitch at php for mixing views with logic are doing it now with react and it works because node.
  • 0
    I use redux thunk, do I need to switch?
  • 0
    Reflux and sagas? 👀
  • 0
    @wildebeest well if it looks spaghetti it's just shit code really. I like the fact that if I want to render a list of stuff I don't have to use a made-up syntax for looping but actually just array.map. It's natural to think about because you're transforming data to view and it's probably exactly what the made up templating syntaxes compile to.
Add Comment