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

> The JSON<>React serialization doesn't seem to offer much value

I mean, you don't see any value in being able to declaratively state an entire app? ...



The DOM is a declarative state for a document.


Is this a joke? Ask any mobile or desktop app developer (people who program UIs in a non-broken platform) how they think about having state inside the views.

Only on the web there exist people who hack around for so long they actually believe the hack is the right way.


React is fine for web apps, but static sites are not web apps. Using the DOM where appropriate is perfectly fine.


His point, stated with a bit too much ad hominem, is that with such a serialization you can scaffold entire dynamic web apps which can include form submission where the form dynamically updates based on rules & current state, uses a configurable method, and more, whereas DOM is inherently a "view" and has no concept of state




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

Search: