Skip to content

Out-of-order HTML Patching

Jake Archibald talks about an interesting new feature for the web platform: Declarative HTML Patching via the <template> element.

While it would certainly be helpful for being able to render complex pages from the server with less client overhead, I think it also opens up interesting possibilities for client-rendered markup.

At a minimum it could simplify portal-style APIs in client libraries (e.g. createPortal in React), but I could also see entirely new rendering concepts coming about where components are able to individually render into their own patch.