1import { useEffect } from 'react';
2import { useForm } from 'react-final-form';
5 * ValuesHandler notifies callback function when form values change.
7export default function ValuesHandler({ valid, validating, values, onValues }) {
8 const form = useForm();
9 const validationPaused = form.isValidationPaused();
12 if (!validating && !validationPaused) {
13 onValues && onValues({ valid, values, form });
15 }, [form, onValues, valid, validating, validationPaused, values]);
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list