4 ms·
A small change in state can cause a large change in the view. When the server renders the html, it has to send all the portions of the view that have changed.
by VMG 15y ago
A small change in state can cause a large change in the view.
When the server renders the html, it has to send all the portions of the view that have changed. When rendering client-side, the server only needs to send the portion of the state that changed.
- latch 15y agoGood point, thanks. So it potentially provides you with opportunities for further optimization. I guess the message from DHH is that they hit their performance targets, so this would be an unnecessary optimization (and I'm tempte to say "non-trivial to implement"..but now I know I'm being biased..)
- hollerith 15y ago>A small change in state can cause a large change in the view. It can, but maybe there is a way to write Basecamp so that large changes in view are rare.
- VMG 15y agoThat is limiting the application though. With client-side rendering you can have large view changes with little state change.