Browse Source

chore: mark todo

Evan You 7 years ago
parent
commit
08c8fdb62e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/core/src/componentWatch.ts

+ 1 - 0
packages/core/src/componentWatch.ts

@@ -34,6 +34,7 @@ export function setupWatcher(
   const applyCb = () => {
     const newValue = runner()
     if (newValue !== oldValue) {
+      // TODO handle error
       cb(newValue, oldValue)
       oldValue = newValue
     }