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

Function useOuterFoo

packages/react-devtools-shell/src/app/Hydration/index.js:58–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56};
57
58function useOuterFoo() {
59 useDebugValue({
60 debugA: {
61 debugB: {
62 debugC: 'abc',
63 },
64 },
65 });
66 useState({
67 valueA: {
68 valueB: {
69 valueC: 'abc',
70 },
71 },
72 });
73 return useInnerFoo();
74}
75
76function useInnerFoo() {
77 const [value] = useState([[['a', 'b', 'c']]]);

Callers 1

index.jsFile · 0.85

Calls 3

useDebugValueFunction · 0.90
useStateFunction · 0.90
useInnerFooFunction · 0.85

Tested by

no test coverage detected