Re:Show HN: Caldera – Phoenix LiveView for Node and React
by kamesstory on Sunday May 31, 2020 @02:00AM
(#23367557)
One of the contributors here - not entirely sure if you're asking for pros or cons, but the entire point of Caldera is to execute/keep the React code on the server and only stream DOM updates. It's set up such that existing React web apps can be easily ported over (essentially just move all client logic to the server), so you can definitely make normal web apps with the framework! If you're asking about drawbacks, one of the biggest issues is latency, since events need to be sent to the server to be processed, but this can be relatively easily alleviated by hosting servers closer to clients.
[ Parent
| on HN ]
Re:Show HN: Caldera – Phoenix LiveView for Node and React
by aabbcc1241 on Monday June 01, 2020 @03:54PM
(#23382972)
Beside optimizing the server-client capacity, optimizing the message needed to send over the wire is also helpful. I'm not familiar to react but it appear to work like Elm. i.e. it send the app-specific event with just necessary data instead of the generic DOM event. This part should be saving some bandwidth right?