MCPcopy Index your code
hub / github.com/react/react / AsyncText

Function AsyncText

packages/react-reconciler/src/__tests__/ActivitySuspense-test.js:92–96  ·  view source on GitHub ↗
({text})

Source from the content-addressed store, hash-verified

90 }
91
92 function AsyncText({text}) {
93 readText(text);
94 Scheduler.log(text);
95 return text;
96 }
97
98 // @gate enableActivity
99 it('basic example of suspending inside hidden tree', async () => {

Callers

nothing calls this directly

Calls 1

readTextFunction · 0.70

Tested by

no test coverage detected