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:
@@ -56,10 +56,6 @@ export function computed<T>(
|
||||
// expose effect so computed can be stopped
|
||||
effect: runner,
|
||||
get value() {
|
||||
if (__SSR__) {
|
||||
return getter()
|
||||
}
|
||||
|
||||
if (dirty) {
|
||||
value = runner()
|
||||
dirty = false
|
||||
|
||||
Reference in New Issue
Block a user