Using your credit card form assignment as a reference, change over components to be functional components and manage state through hooks.
- All class components should be replaced with functional components.
- All state management should be done through hooks, so remove all references to
setState
- Should support same features as before: show amount being charged, submit button, and all fields that are required to submit credit card should be editable.
npm i && npm start