const props = { foo: 'a', bar: 'b' };
render(html`
<my-element ...=${spreadProps(props)}></my-element>
`, document.getElementById('root'))
const style = css`
:host {
background: red;
}
`
applyStyle(this.shadowRoot.querySelector("#myNode"), style);