Hacker News new | past | comments | ask | show | jobs | submit login

Not in my experience. I've worked on several react apps. Currently doing a Hotwire project and it's just so much simpler to keep all state on the server side.



So when you enter a character into a text field the affected part of the page is then reloaded with fresh HTML?


Liveview: it sends event to server and the server handle the event, then send "diff" to client (and automatically patch the dom) .. all of these via websocket, it's fast.


How does this degrade when connectivity is poor?


In my experience, not well (we had an important early user have to use our web app from a trailer using the wifi from the main house)

So might not be the best approach unless most of your users are at their desk




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: