4 ms·
You may be interested in intercooler.js (http://intercoolerjs.org/ http://intercoolerjs.org/). It allows you to perform a host of AJAX + DOM manipulation flows
by jlaporte 9y ago
You may be interested in intercooler.js (http://intercoolerjs.org/ http://intercoolerjs.org/). It allows you to perform a host of AJAX + DOM manipulation flows using only HTML attributes.
intercooler also supports something similar to the server pushed DOM diff flow you envision:
Server Sent Events BETA (http://intercoolerjs.org/docs.html#sse http://intercoolerjs.org/docs.html#sse)
"Server Sent Events are an HTML5 technology allowing for a server to push content to an HTML client. They are simpler than WebSockets but are unidirectional, allowing a server to send push content to a browser only."
http://intercoolerjs.org/docs.html#sse http://intercoolerjs.org/docs.html#sse
- gcoda 9y agoThats awesome, I was only aware of turbolinks. Sadly, I will never use it for real. I, like many other, spending some time to ensure server side rendering works, and web site can function without JS. If intercooler were part of browser, and not separate code it will be possible to adapt any SSR ready app to work with this.