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

Function isEqual

src/Field.test.js:899–899  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

897
898 it("should use isEqual to calculate dirty/pristine", () => {
899 const isEqual = (a, b) => (a && a.toUpperCase()) === (b && b.toUpperCase());
900 const { getByTestId } = render(
901 <Form onSubmit={onSubmitMock} initialValues={{ name: "bob" }}>
902 {() => (

Callers 2

useWhenValueChangesFunction · 0.70
useFieldFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…