Web components can be created without the need for any framework.
example-component.js
class ExampleComponent extends HTMLElement {
constructor() {
super();
this.doSomething();
}
doSomething() {
...
}
}
customElements.define('app-drawer', AppDrawer);
window.customElements.define('example-component', ExampleComponent);
index.html
<script src="example-component.js"></script>
<example-component></example-component>