by candiddevmike · 2y ago · 0 comments
No wonder the front end is such a disaster with those mindsets running the show.
And the wheel that they're at is the one in a clown car. Which is driving off a cliff.
Just having a custom element `<my-include-html remote-src='...'>`[1] is enough to forgo 50% of the reason for using a front-end framework with a build-step.
[1] One that executes scripts, allows `<style>` tags, etc.
Something like:
<div hx-trigger="load" hx-get="/header.html"></div>