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

Function useInnerBar

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

Source from the content-addressed store, hash-verified

90}
91
92function useInnerBar() {
93 useDebugValue({
94 debugA: {
95 debugB: {
96 debugC: 'abc',
97 },
98 },
99 });
100 const [count] = useState(123);
101 return count;
102}
103
104function useOuterBaz() {
105 return useInnerBaz();

Callers 1

useOuterBarFunction · 0.85

Calls 2

useDebugValueFunction · 0.90
useStateFunction · 0.90

Tested by

no test coverage detected