Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Preact Example
<!DOCTYPE html>
<script type="module">
import {
} from "";
function MyComponent(props) {
return html`<div>My name is ${}</div>`;
const App = html`<div>
<${MyComponent} name="John Doe" />
render(App, document.body);

This comment has been minimized.

Copy link
Owner Author

@ricardocanelas ricardocanelas commented Aug 29, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment