Skip to content

Commit

Permalink
feat(hdom-canvas): add warning msg for hydrateTree() impl
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Sep 15, 2018
1 parent ae1371d commit adaaa7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hdom-canvas/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const normalizeTree = (opts: Partial<HDOMOpts>, tree: any) => {
export const IMPL: HDOMImplementation<any> = {
createTree: drawTree,
normalizeTree,
hydrateTree: () => { },
hydrateTree: () => console.warn("hydrate not-supported for hdom-canvas"),
diffTree: () => { },
};

Expand Down

0 comments on commit adaaa7a

Please sign in to comment.