llcooliovice
llcooliovice on Hacker News
Posted by
llcooliovice on Saturday July 18, 2026 @08:53AM
from the github.com dept.
Chrome are prototyping a declarative client-side include mechanism.
<template src="/partial.html" for=""></template>
Together with the declarative API, it will also include a way to import HTML in JavaScript:
import fragment from "/partial.html" with { type: "fragment" }
Posted by
llcooliovice on Saturday June 13, 2026 @08:08AM
from the olliewilliams.xyz dept.
Posted by
llcooliovice on Wednesday June 10, 2026 @04:46PM
from the github.com dept.
Posted by
llcooliovice on Friday October 31, 2025 @03:22AM
from the olliewilliams.xyz dept.
HTML primitives for updating parts of a document without a full page refresh
Posted by
llcooliovice on Monday October 06, 2025 @02:50PM
from the github.com dept.
Posted by
llcooliovice on Monday September 22, 2025 @08:31AM
from the olliewilliams.xyz dept.
Interop is such a good idea, I’m surprised more developers don’t participate.
Posted by
llcooliovice on Thursday September 04, 2025 @03:42AM
from the github.com dept.
From Dominic Gannaway, the creator of Inferno, who worked on React at Meta and on Svelte 5 at Vercel.
Feels like a hybrid of React and Svelte 3/4.
Posted by
llcooliovice on Friday August 29, 2025 @09:00PM
from the github.com dept.
> We've explored the reactivity landscape. While early DOM templating proposals didn't include updating, userland systems have thoroughly explored the landscape by now, and discovered good mental models and better and worse implementation approaches. I think we can now zero-in on a system that combines the best features from the different approaches.
AFAIK Ryan Carniato/Solid JS is still exploring what’s possible with signals. I don’t think userland exploration of this space has entirely finished, and further innovation may be possible.
> There are in-flight proposals for very low-level DOM update primitives, like DOM Parts, which target framework implementations, but I think higher-level APIs like full declarative templating can take even more load off, help prove out and complete the lower-level API proposals, and be really impactful for developers and users.
There is an alternative suggestion to DOM parts which might be a better bet:
https://github.com/whatwg/dom/issues/736
Chrome implemented a prototype, then the spec changed and they removed it, then they implemented the new version. I should have been clearer and said Chrome Canary and Firefox Nightly. Not sure when it will reach stable but probably some point this year, they’ve been working on it for ages and Safari is onboard.
> There's no fundamental templating knowledge that's portable between stacks, and native DOM creation APIs like innerHTML are unsafe by default.
setHTML() is already implemented in Chrome/Edge and Firefox so this point is a bit outdated - there is a safe alternative to innerHTML.
There is still innovation happening in frameworks. I do wonder if it is too early to start adding things like this to the browser. Web components landed way too early and now we’re stuck with them.
A better non-modal dialog using the popover API.
Posted by
llcooliovice on Tuesday December 17, 2024 @09:32AM
from the fullystacked.net dept.
Now supported by the Apple M3 chips.
Posted by
llcooliovice on Tuesday October 31, 2023 @08:16AM
from the fullystacked.net dept.
Posted by
llcooliovice on Sunday September 03, 2023 @04:49PM
from the fullystacked.net dept.
With the modernisation of Microsoft Outlook, if will finally be possible to code an email in a semi-modern way.
Posted by
llcooliovice on Saturday April 08, 2023 @05:26PM
from the fullystacked.net dept.