Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  It means going from:
  
  Frontend > React > [state management library of choice]
   
  to
  
  Frontend > Data Layer > View Layer (React)
This is MVC, no? That's basically the diagram for MVC on the Wikipedia page.

I suppose giving it a "-first" (god I hate this trend) moniker spiffs it up a bit. We could also name it "modern MVC" for ultimate internet points.

I'd also read this article (not mine):

https://chriskiehl.com/article/react-as-an-implementation-de...

Pay attention to the caveats. Specifically:

> The complex pieces usually warrant it, the simple ones usually do not. There's nothing original or revolutionary in these ideas, they're often just forgotten.

And that's probably why we do React with ad hoc Redux today. It's the path of least resistance. Why think about boring business rules and how to model them with lots of tiresome boilerplate when you can just throw up a prototype in React. You could probably fit a good argument of why so many people reach for NoSQL over SQL in there too.

Ultimately, all code starts simple. So you're screwed from the start. Only later do realize your code is a mess and your lack of modeling is causing chaos everywhere, from one-off TypeScript interfaces everywhere to lots and lots of null checking.



React and MVC would be a pretty good mix I reckon. I did some early React projects with Backbone.js instead of redux and it worked pretty well.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: