Skip to content

Commit

Permalink
fix(examples): minor update hydrate demo
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Aug 31, 2018
1 parent e7607f5 commit 52417e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/hydrate-basics/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Atom } from "@thi.ng/atom";
import { serialize } from "@thi.ng/hiccup";
import { start } from "@thi.ng/hdom";
import { serialize } from "@thi.ng/hiccup/serialize";
import { start } from "@thi.ng/hdom/start";
import { canvas2D } from "@thi.ng/hdom-components/canvas";
import { dropdown } from "@thi.ng/hdom-components/dropdown";

Expand Down Expand Up @@ -81,4 +81,4 @@ document.getElementById("app").innerHTML = html;
console.log(html);

// ..then start hdom update loop w/ hydrate enabled
start(app(), { parent: "app", hydrate: true, ctx: state });
start(app(), { hydrate: true, ctx: state });

0 comments on commit 52417e3

Please sign in to comment.