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

I think about this a lot. MVC was the gold standard of laying out frontends at some point.

I don't think it really bought us much.

I think the selling point on react was the composability of models and views and controllers.

If you can make the code and structure simple and cohesive enough that they can all flow together it works well.

In general if you have something like

DataFetchComponent (Ideally View-Model data from graphql etc - not a pure model) -> ViewControllerComponent (ViewController) -> can trigger dataFetch

you end up with a really really elegant solution.

Of course deadlines and getting shit done ASAP tends to mess this up.



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

Search: