()
| 17 | }; |
| 18 | |
| 19 | const Field2 = () => { |
| 20 | const { input } = useField("field1", { subscription: { value: true } }); |
| 21 | // Should show "UpdatedByField1" after ParentWithEffect's useEffect runs |
| 22 | return <span data-testid="field1-value">{input.value}</span>; |
| 23 | }; |
| 24 | |
| 25 | const ParentWithEffect = () => { |
nothing calls this directly
no test coverage detected
searching dependent graphs…