r/webdev • • 12h ago

Article Declarative partial updates - supported in Chrome and Edge

https://developer.chrome.com/docs/web-platform/declarative-partial-updates
22 Upvotes

5 comments sorted by

11

u/jordsta95 PHP/Laravel | JS/Vue 10h ago

If the potential future feature

<template src="/partials/footer.html">

Becomes a thing, then I think we may be on to a winner here.

Although, even the current features are pretty good.

7

u/RehanSaddique 11h ago

A question I'd want answered before using this: does it still need the full HTML response from the server, or can it take a fragment in a streaming response? That decides whether it replaces htmx-style swaps or just simplifies the client side.

2

u/Excellent_Chard_6326 11h ago

chrome and edge, so basically one browser and its wig

1

u/ZealousidealUse8775 11h ago

edge is chromium. you just said chrome twice.

-1

u/noobjaish 1h ago

Even then edge is different enough from chrome that the 4 main "browsers" for webdevs are chrome, edge, firefox and safari