I created Solarite ( https://eric-frost.github.io/solarite/
) and use it everywhere to create complex app UI in the browser, so I'm invested in web components.
I think NOT using shadowdom is usually the solution for shared stylesheets. So many of my problems have been solved by just letting the styles cascade.
I also now use AI to build everything and I read less than 5% of the code it writes. I think web components still matter because AI still needs clean and organized code. It can brute force things the hard way, but organized code lets AI move faster with less tokens, less bugs, and less code shipped to the browser.
I assumed Solarite would be at a disadvantage because it's not widely known and AI's aren't trained much on it, but I've found that even the earlier models could use it well, and do so before I released it and before it could have been in any of their training data.
I think NOT using shadowdom is usually the solution for shared stylesheets. So many of my problems have been solved by just letting the styles cascade.
I also now use AI to build everything and I read less than 5% of the code it writes. I think web components still matter because AI still needs clean and organized code. It can brute force things the hard way, but organized code lets AI move faster with less tokens, less bugs, and less code shipped to the browser.
I assumed Solarite would be at a disadvantage because it's not widely known and AI's aren't trained much on it, but I've found that even the earlier models could use it well, and do so before I released it and before it could have been in any of their training data.
In my experience iframes are far too slow.
reply