Skip to content

kuzhalikumaraguru/sb-admin-react-axios-crud

Repository files navigation

  1. sb-admin-crud using state is changed to axios crud and validation using formik
  2. Axios request made as common by creating service file
  3. Import service file where needed and can use respective methods
  4. Formik packages is used to validate the form
  5. yup packages is used to make the validation easier and to handle forms with default functions in it
  6. We can use formik as well as useformik hook from formik
  7. if we use formik -> formik syntax and named functions to be used
  8. if we use useFormik -> existing form can be customized using the yup functions etc
  9. validation can be done using 2 methods one is customized functions and another one is validationSchema which is the boilerplate of the object
  10. validationSchema with syntax can be followed to set and show the error message

Releases

No releases published

Packages

No packages published