Hello there
This is how custom elements look via heresy.
Isn't this awesome?
`);
console.log(refs.h1.current); // the H1 instance/node
```
### Local components live example
You can see the [following example live](https://webreflection.github.io/heresy/test/local.html).
```js
// p.js - could be an object too
export default class extends HTMLParagraphElement {
static get tagName() { return 'p'; }
oninit() {
console.log(this.outerHTML);
}
};
// first.js - it has a local P
import P from './p.js';
export default {
extends: 'div',
includes: {P}, // with its own definition
render() {
this.html`