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

Function App

packages/react-dom/src/__tests__/ReactTestUtilsAct-test.js:68–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67 describe('unacted effects', () => {
68 function App() {
69 React.useEffect(() => {}, []);
70 return null;
71 }
72
73 // @gate __DEV__
74 it('does not warn', () => {

Callers

nothing calls this directly

Calls 7

doSomethingFunction · 0.85
somethingFunction · 0.85
somethingAsyncFunction · 0.85
sleepFunction · 0.70
tickerFunction · 0.70
someAsyncFunctionFunction · 0.70
thenMethod · 0.65

Tested by

no test coverage detected