volkanakinpasa / rabobank-assignment-fe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rabobank Assignment FE

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Form validation

I've used react-hook-form as makes validation easier and also avoid re-rendering the component on each state changes. used react-hook-form instead of formik based on the package size, issue number are getting reduced, starts are increasing, last update is VERY recent(formik was updated months ago)

npm trends comparison link

bundlephobia react-hook-form

bundlephobia formik

About


Languages

Language:TypeScript 77.9%Language:HTML 11.3%Language:CSS 10.5%Language:Shell 0.3%