Skip to content

Latest commit

 

History

History

form

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Configuration inside Index.tsx

  • If you want to see how isValidating & isSubmitting works increase the constant DELAY

  • To try the other libraries, edit the imports inside the index.tsx file.

relay-forms

//import App from './AppNoDeps';
//export { useFormSetValue, useFormSubmit, useFormState, useFormValue } from './AppNoDeps';
//import App from './AppReactRelayForms';
//export { useFormSetValue, useFormSubmit, useFormState, useFormValue } from './AppReactRelayForms';
import App from './AppRelayForms';
export { useFormSetValue, useFormSubmit, useFormState, useFormValue } from './AppRelayForms';

react-relay-forms

//import App from './AppNoDeps';
//export { useFormSetValue, useFormSubmit, useFormState, useFormValue } from './AppNoDeps';
import App from './AppReactRelayForms';
export { useFormSetValue, useFormSubmit, useFormState, useFormValue } from './AppReactRelayForms';
//import App from './AppRelayForms';
//export { useFormSetValue, useFormSubmit, useFormState, useFormValue } from './AppRelayForms';

relay-forms-nodeps

import App from './AppNoDeps';
export { useFormSetValue, useFormSubmit, useFormState, useFormValue } from './AppNoDeps';
//import App from './AppReactRelayForms';
//export { useFormSetValue, useFormSubmit, useFormState, useFormValue } from './AppReactRelayForms';
//import App from './AppRelayForms';
//export { useFormSetValue, useFormSubmit, useFormState, useFormValue } from './AppRelayForms';