Przeglądaj źródła

chore: mark todo

Evan You 7 lat temu
rodzic
commit
08c8fdb62e
1 zmienionych plików z 1 dodań i 0 usunięć
  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
     }