MCPcopy
hub / github.com/final-form/react-final-form / MyFieldComponent

Function MyFieldComponent

src/useField.test.js:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 jest.spyOn(console, "error").mockImplementation(() => {});
20 const errorSpy = jest.fn();
21 const MyFieldComponent = () => {
22 useField("name");
23 return <div />;
24 };
25 render(
26 <ErrorBoundary spy={errorSpy}>
27 <MyFieldComponent />

Callers

nothing calls this directly

Calls 1

useFieldFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…