MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / renderFixture

Function renderFixture

benchmarks/fixture/app.tsx:146–153  ·  view source on GitHub ↗
(nextState: FixtureState)

Source from the content-addressed store, hash-verified

144const benchmarkRoot = createRoot(rootNode)
145
146function renderFixture(nextState: FixtureState) {
147 return new Promise<void>((resolve) => {
148 flushSync(() => {
149 benchmarkRoot.render(<BenchmarkFixture {...nextState} />)
150 })
151 resolve()
152 })
153}
154
155function unmountFixture() {
156 return new Promise<void>((resolve) => {

Callers 2

runScalingBenchmarkFunction · 0.85
app.tsxFile · 0.85

Calls 1

renderMethod · 0.80

Tested by

no test coverage detected