logoalt Hacker News

aeonfoxtoday at 1:57 PM1 replyview on HN

I assume Django LiveView is directly inspired by Phoenix LiveView. It's essentially diffing template expansion on the backend and sending patches to the frontend via websockets where JS then applies the patches. Clicks and other interactions are also transmitted to the backend where state for the socket is updated and the template is reevaluated, hence completing the loop.


Replies

androstoday at 2:24 PM

The concept is correct, but it's a bit simpler Its architecture is explained in the documentation, that's why it's so fast!

show 1 reply