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

Function Status

packages/react-dom/src/__tests__/ReactDOMForm-test.js:675–678  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

673 const formRef = React.createRef();
674
675 function Status() {
676 const {pending} = useFormStatus();
677 return pending ? <Text text="Pending..." /> : null;
678 }
679
680 function App() {
681 const [state, setState] = useState('Initial');

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
useFormStatusFunction · 0.50

Tested by

no test coverage detected