chore: mark todo

This commit is contained in:
Evan You 2018-09-23 19:53:37 -04:00
parent ccd83e2fb0
commit 08c8fdb62e

View File

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