Parcourir la source

chore: mark todo

Evan You il y a 7 ans
Parent
commit
08c8fdb62e
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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
     }