wip(ssr): revert reactivity ssr paths

The perf gains are not worth the correctness issues these paths may lead to
This commit is contained in:
Evan You
2020-01-27 15:15:13 -05:00
parent cc47ae0118
commit 763faac182
4 changed files with 8 additions and 25 deletions

View File

@@ -165,7 +165,7 @@ export const readonlyHandlers: ProxyHandler<object> = {
}
}
// props handlers are special in the sense that it should not unwrap top-level
// Props handlers are special in the sense that it should not unwrap top-level
// refs (in order to allow refs to be explicitly passed down), but should
// retain the reactivity of the normal readonly object.
export const shallowReadonlyHandlers: ProxyHandler<object> = {