├── .editorconfig ├── .gitattributes ├── .github ├── actions │ └── setup │ │ └── action.yml └── workflows │ └── ci.yml ├── .gitignore ├── .nvmrc ├── .oxlintrc.json ├── .watchmanconfig ├── .yarnrc ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── babel.config.js ├── example ├── App.js ├── README.md ├── app.json ├── assets │ ├── adaptive-icon.png │ ├── favicon.png │ ├── icon.png │ └── splash.png ├── babel.config.js ├── metro.config.js ├── package.json ├── src │ ├── App.tsx │ ├── App.tsx.backup │ ├── TextInputWithError.tsx │ ├── components │ │ ├── HeroSection.tsx │ │ ├── JsonStateViewer.tsx │ │ ├── LibraryAdvantages.tsx │ │ └── SEOArticle.tsx │ ├── demos │ │ ├── ArticleDemo.tsx │ │ ├── PaymentDemo.tsx │ │ ├── RegistrationDemo.tsx │ │ └── UserProfileDemo.tsx │ └── types.ts ├── tsconfig.json ├── webpack.config.js └── yarn.lock ├── lefthook.yml ├── package.json ├── pre-submit-validation-test.js ├── scripts └── bootstrap.js ├── src ├── Form.tsx ├── FormContext.tsx ├── ScrollView.tsx ├── checkError.ts ├── hasVirtualKeyboard.native.ts ├── hasVirtualKeyboard.ts ├── index.tsx ├── layoutUtil.ts ├── layoutUtil.web.ts ├── numberRaw.ts ├── objectPath.ts ├── translations │ ├── en.ts │ ├── nl.ts │ └── utils.ts ├── types.ts ├── useErrors.ts ├── useFocusedOnce.ts ├── useFormState.ts ├── useInputs.ts ├── useLayout.ts ├── useNextAndSubmitRef.ts ├── useRefState.ts ├── useSubmit.ts ├── useTouched.ts ├── useValues.ts ├── useWasSubmitted.ts └── utils.ts ├── tsconfig.build.json └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/actions/setup/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/.github/actions/setup/action.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 20 2 | -------------------------------------------------------------------------------- /.oxlintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/.oxlintrc.json -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.yarnrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/.yarnrc -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/babel.config.js -------------------------------------------------------------------------------- /example/App.js: -------------------------------------------------------------------------------- 1 | export { default } from './src/App'; 2 | -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/README.md -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/app.json -------------------------------------------------------------------------------- /example/assets/adaptive-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/assets/adaptive-icon.png -------------------------------------------------------------------------------- /example/assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/assets/favicon.png -------------------------------------------------------------------------------- /example/assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/assets/icon.png -------------------------------------------------------------------------------- /example/assets/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/assets/splash.png -------------------------------------------------------------------------------- /example/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/babel.config.js -------------------------------------------------------------------------------- /example/metro.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/metro.config.js -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/package.json -------------------------------------------------------------------------------- /example/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/src/App.tsx -------------------------------------------------------------------------------- /example/src/App.tsx.backup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/src/App.tsx.backup -------------------------------------------------------------------------------- /example/src/TextInputWithError.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/src/TextInputWithError.tsx -------------------------------------------------------------------------------- /example/src/components/HeroSection.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/src/components/HeroSection.tsx -------------------------------------------------------------------------------- /example/src/components/JsonStateViewer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/src/components/JsonStateViewer.tsx -------------------------------------------------------------------------------- /example/src/components/LibraryAdvantages.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/src/components/LibraryAdvantages.tsx -------------------------------------------------------------------------------- /example/src/components/SEOArticle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/src/components/SEOArticle.tsx -------------------------------------------------------------------------------- /example/src/demos/ArticleDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/src/demos/ArticleDemo.tsx -------------------------------------------------------------------------------- /example/src/demos/PaymentDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/src/demos/PaymentDemo.tsx -------------------------------------------------------------------------------- /example/src/demos/RegistrationDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/src/demos/RegistrationDemo.tsx -------------------------------------------------------------------------------- /example/src/demos/UserProfileDemo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/src/demos/UserProfileDemo.tsx -------------------------------------------------------------------------------- /example/src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/src/types.ts -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/tsconfig.json -------------------------------------------------------------------------------- /example/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/webpack.config.js -------------------------------------------------------------------------------- /example/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/example/yarn.lock -------------------------------------------------------------------------------- /lefthook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/lefthook.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/package.json -------------------------------------------------------------------------------- /pre-submit-validation-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/pre-submit-validation-test.js -------------------------------------------------------------------------------- /scripts/bootstrap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/scripts/bootstrap.js -------------------------------------------------------------------------------- /src/Form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/Form.tsx -------------------------------------------------------------------------------- /src/FormContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/FormContext.tsx -------------------------------------------------------------------------------- /src/ScrollView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/ScrollView.tsx -------------------------------------------------------------------------------- /src/checkError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/checkError.ts -------------------------------------------------------------------------------- /src/hasVirtualKeyboard.native.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/hasVirtualKeyboard.native.ts -------------------------------------------------------------------------------- /src/hasVirtualKeyboard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/hasVirtualKeyboard.ts -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/layoutUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/layoutUtil.ts -------------------------------------------------------------------------------- /src/layoutUtil.web.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/layoutUtil.web.ts -------------------------------------------------------------------------------- /src/numberRaw.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/numberRaw.ts -------------------------------------------------------------------------------- /src/objectPath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/objectPath.ts -------------------------------------------------------------------------------- /src/translations/en.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/translations/en.ts -------------------------------------------------------------------------------- /src/translations/nl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/translations/nl.ts -------------------------------------------------------------------------------- /src/translations/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/translations/utils.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/useErrors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/useErrors.ts -------------------------------------------------------------------------------- /src/useFocusedOnce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/useFocusedOnce.ts -------------------------------------------------------------------------------- /src/useFormState.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/useFormState.ts -------------------------------------------------------------------------------- /src/useInputs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/useInputs.ts -------------------------------------------------------------------------------- /src/useLayout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/useLayout.ts -------------------------------------------------------------------------------- /src/useNextAndSubmitRef.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/useNextAndSubmitRef.ts -------------------------------------------------------------------------------- /src/useRefState.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/useRefState.ts -------------------------------------------------------------------------------- /src/useSubmit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/useSubmit.ts -------------------------------------------------------------------------------- /src/useTouched.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/useTouched.ts -------------------------------------------------------------------------------- /src/useValues.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/useValues.ts -------------------------------------------------------------------------------- /src/useWasSubmitted.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/useWasSubmitted.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-ridge/react-native-use-form/HEAD/tsconfig.json --------------------------------------------------------------------------------