I like the idea of web components, but really dislike html and js being intermingled (the reason I don't like React/JSX). In web components its even worse because its HTML as a string which means it has no validation and isn't syntax aware. I much prefer the angular approach where you have separate css,html,ts files, and would love a web component framework that could work similarly.
Searching for this I found some kinda hacky solutions on Stack Overflow which use fetch to load html/css at runtime.
Searching for this I found some kinda hacky solutions on Stack Overflow which use fetch to load html/css at runtime.