MCPcopy
hub / github.com/facebook/react / App

Function App

packages/react-reconciler/src/__tests__/ReactDeferredValue-test.js:375–378  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

373
374 it('supports initialValue argument', async () => {
375 function App() {
376 const value = useDeferredValue('Final', 'Initial');
377 return <Text text={value} />;
378 }
379
380 const root = ReactNoop.createRoot();
381 await act(async () => {

Callers

nothing calls this directly

Calls 1

useDeferredValueFunction · 0.50

Tested by

no test coverage detected