react-refactor

Sample react class component which needs refactoring.

Goals

  1. Refactor the class component into a functional component using react hooks.
  2. Tidy the code as you see fit.
  3. Resolve any potential issues, errors, or performance problems.

Instructions

  1. Fork this repository.
  2. Commit your changes.
  3. Submit a PR.