3 ms·
If I understand correctly, Chris McCord actually did something similar back in his Rails days (https://github.com/chrismccord/render_sync https://github.com/chr
by mercer 8y ago
If I understand correctly, Chris McCord actually did something similar back in his Rails days (https://github.com/chrismccord/render_sync https://github.com/chrismccord/render_sync), but the issues he ran into actually led him to create both Phoenix and, eventually, LiveView.
I'm sure others are better at explaining the details, but from what I gather this approach is now more viable than it was in the past with other stacks because 1) Phoenix is really efficient and fast with rendering templates, 2) The Erlang/Elixir-specific channels/process approach makes it much easier to have tons of websocket connections open and maintaining state, and perhaps 3) javascript got a lot faster.