This repo contains a simple react refactor exercise where you can refactor
a Class component into a functional component, using hooks.
The component can be found in src/App.js. The goal is to refactor the component
without breaking any of the tests defined in src/App.test.js.
Before starting your exercise:
- Install dependencies (
npm cioryarn install) - Start jest in watch mode by running
npm testor (yarn test). - Code!
This project was bootstrapped with Create React App.