refactor: depend on scheduler directly in core instead of injecting via createRenderer

This commit is contained in:
Evan You
2018-09-21 13:34:00 -04:00
parent bb0e15de4d
commit de76daf073
11 changed files with 63 additions and 26 deletions

View File

@@ -158,6 +158,7 @@ const immutableInstrumentations: any = {
const target = unwrap(this)
const proto: any = Reflect.getPrototypeOf(target)
track(target, OperationTypes.ITERATE)
// TODO values retrived from iterations should also be observables
return proto[method].apply(target, args)
}
})