Skip to content

Instantly share code, notes, and snippets.

@dongsik-yoo
Created January 31, 2020 06:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dongsik-yoo/ce0b82b2a8b5db5387d1d3dd6260cefb to your computer and use it in GitHub Desktop.
Save dongsik-yoo/ce0b82b2a8b5db5387d1d3dd6260cefb to your computer and use it in GitHub Desktop.
new (class extends v {
getComponent() {
return Object(o.h)("h2", null, "Week View");
}
})(document.getElementById("app1")).render();
const m = new (class extends v {
getComponent() {
return Object(o.h)("h2", null, "Month View");
}
})(document.getElementById("app2"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment