[–] llcooliovice 3mo ago ↗ 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" }
1 comment
[ 3.5 ms ] story [ 26.4 ms ] thread<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" }