├── .babelrc ├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .npmignore ├── .prettierrc ├── README.md ├── browserslist ├── demo ├── public │ ├── index.html │ └── style.css ├── src │ ├── app.js │ ├── components │ │ ├── FieldError.js │ │ ├── FormErrors.js │ │ ├── FormState.js │ │ └── Submit.js │ ├── examples │ │ ├── Validation.js │ │ └── WizardForm.js │ ├── helpers │ │ └── validation.js │ └── react-hooks-form.js └── webpack.js ├── package.json ├── src ├── Form.js ├── FormBuilder.js ├── FormField.js ├── context.js ├── hooks.js ├── index.js └── store │ ├── api.data.js │ ├── api.field.js │ ├── api.form.js │ ├── api.js │ ├── index.js │ └── watch.js ├── webpack.config.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | examples 2 | src 3 | .idea 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/README.md -------------------------------------------------------------------------------- /browserslist: -------------------------------------------------------------------------------- 1 | > 0.25% 2 | not dead 3 | -------------------------------------------------------------------------------- /demo/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/demo/public/index.html -------------------------------------------------------------------------------- /demo/public/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/demo/public/style.css -------------------------------------------------------------------------------- /demo/src/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/demo/src/app.js -------------------------------------------------------------------------------- /demo/src/components/FieldError.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/demo/src/components/FieldError.js -------------------------------------------------------------------------------- /demo/src/components/FormErrors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/demo/src/components/FormErrors.js -------------------------------------------------------------------------------- /demo/src/components/FormState.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/demo/src/components/FormState.js -------------------------------------------------------------------------------- /demo/src/components/Submit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/demo/src/components/Submit.js -------------------------------------------------------------------------------- /demo/src/examples/Validation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/demo/src/examples/Validation.js -------------------------------------------------------------------------------- /demo/src/examples/WizardForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/demo/src/examples/WizardForm.js -------------------------------------------------------------------------------- /demo/src/helpers/validation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/demo/src/helpers/validation.js -------------------------------------------------------------------------------- /demo/src/react-hooks-form.js: -------------------------------------------------------------------------------- 1 | export * from '../../src'; 2 | -------------------------------------------------------------------------------- /demo/webpack.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/demo/webpack.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/package.json -------------------------------------------------------------------------------- /src/Form.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/src/Form.js -------------------------------------------------------------------------------- /src/FormBuilder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/src/FormBuilder.js -------------------------------------------------------------------------------- /src/FormField.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/src/FormField.js -------------------------------------------------------------------------------- /src/context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/src/context.js -------------------------------------------------------------------------------- /src/hooks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/src/hooks.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/src/index.js -------------------------------------------------------------------------------- /src/store/api.data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/src/store/api.data.js -------------------------------------------------------------------------------- /src/store/api.field.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/src/store/api.field.js -------------------------------------------------------------------------------- /src/store/api.form.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/src/store/api.form.js -------------------------------------------------------------------------------- /src/store/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/src/store/api.js -------------------------------------------------------------------------------- /src/store/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/src/store/index.js -------------------------------------------------------------------------------- /src/store/watch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/src/store/watch.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/webpack.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilxanlar/react-hooks-form/HEAD/yarn.lock --------------------------------------------------------------------------------