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:
@@ -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> = {
|
||||
|
||||
Reference in New Issue
Block a user