|
|
|
|
|
by jamiedumont
878 days ago
|
|
So essentially what partials in a template or server-side include solve. That's the only "build-like" part of my current website, but I'd much rather manage this beforehand and serve static HTML, or run a server-side process than use JS/HTML web components at runtime. |
|
``` <marker-of-dynamic-behavior> {your standard static html} </marker-of-dynamic-behavior> ```
This is just a better way of doing DOM scripting, enhancing without waiting for Document Ready event, and having more freedom when to load the dynamic bits.