Hacker News new | ask | show | jobs
by jimmont 248 days ago
MDN has your answer, built into the browser, ready to go: https://developer.mozilla.org/docs/Web/API/Web_components

If that's not enough, Lit enhances it a bit such that either LitElement and/or litHtml can accommodate whichever style you want: https://lit.dev/

2 comments

We are using Lit and MobX for a very complex real time communication and collaboration application. It is very simple and we have not had any issues with performance or flexibility.
this is the answer. should be ranked higher. WebComponents with lit+html is much better than React or any other framework.