MCPcopy Create free account
hub / github.com/Effect-TS/effect / frame

Function frame

packages/effect/src/ui/html/testing/Ssr.ts:518–523  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

516 ((container: globalThis.Element) => container.textContent ?? "")
517 const frames: Array<string> = []
518 const frame = () => {
519 const next = project(container)
520 if (frames.length === 0 || frames[frames.length - 1] !== next) {
521 frames.push(next)
522 }
523 }
524 frame()
525
526 // -- client ---------------------------------------------------------------

Callers 1

ssrFunction · 0.70

Calls 2

pushMethod · 0.65
projectFunction · 0.50

Tested by

no test coverage detected