feat: make functional components time-slicable

This commit is contained in:
Evan You
2018-11-01 17:05:09 +09:00
parent 6ba02827b1
commit d5862d8c51
7 changed files with 136 additions and 121 deletions

View File

@@ -30,7 +30,6 @@ const renderProxyHandlers = {
return target.$data[key]
} else if ((i = target.$options.props) != null && i.hasOwnProperty(key)) {
// props are only proxied if declared
// make sure to return from $props to register dependency
return target.$props[key]
} else if (
(i = target._computedGetters) !== null &&