MCPcopy
hub / github.com/vuejs/core / ssrComputed.spec.ts

File ssrComputed.spec.ts

packages/server-renderer/__tests__/ssrComputed.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { computed, createSSRApp, defineComponent, h, reactive, ref } from 'vue'
2import { renderToString } from '../src/renderToString'
3
4// #5208 reported memory leak of keeping computed alive during SSR

Callers

nothing calls this directly

Calls 7

renderToStringFunction · 0.90
reactiveFunction · 0.85
defineComponentFunction · 0.85
hFunction · 0.85
testFunction · 0.50
computedFunction · 0.50
refFunction · 0.50

Tested by

no test coverage detected