MCPcopy
hub / github.com/freshframework/fresh / clear

Method clear

packages/fresh/src/runtime/server/preact_hooks.ts:117–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115 }
116
117 clear() {
118 this.islands.clear();
119 this.encounteredPartials.clear();
120 this.owners.clear();
121 this.injectedCss.clear();
122 this.slots = [];
123 this.islandProps = [];
124 this.ownerStack = [];
125 }
126}
127
128let RENDER_STATE: RenderState | null = null;

Callers 2

renderMethod · 0.95
configureServerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected