top | item 47027792

(no title)

mattlondon | 14 days ago

Wait until you see React & JSX...

At least html and CSS are both presentation. React/JSX now confuses presentation and business logic.

discuss

order

lateforwork|14 days ago

> React/JSX now confuses presentation and business logic

React was originally designed to be the "V in MVC". You can still use it that way. React becomes very simple when you only use it as the V in MVC.

est|14 days ago

> React was originally designed to be the "V in MVC"

React was originally desingned to be php in the browser.

php5 -> HHVM -> Hack -> XHP -> JSX

azangru|14 days ago

What are the M and the C, and how do they talk to the V in this case?

madeofpalk|14 days ago

I think you're confusing business logic with view logic.

bromuro|14 days ago

React is great for MVVM indeed. Who is still using MVC in 2026?

flowerlad|14 days ago

MVVM was invented by Microsoft for 2-way syncing in WPF. Today we know 2-way syncing is a mistake.

Who uses MVC in 2026? Pretty much every framework out there, including Java frameworks and Python frameworks and .net

techpression|14 days ago

Adding to sibling comments, Phoenix. And it’s a damn nice experience at that.

interlocutor|14 days ago

Ever heard of Django? ASP.NET? Most UI frameworks, including ASP.NET Core, Spring Boot (Java based framework), Ruby on Rails, and Django (Python) are all based on MVC.