Chalarangelo/30-seconds-of-react

Update codebase to use const instead of function

Chalarangelo opened this issue · 0 comments

Currently, all components use function instead of const. We should update the code to use that. Assigning to @Trinityyi as a starter maintenance task.

Additionally:

  • Convert components that have no side-effects to use implicit returns.
  • Separate props into individual lines when lines get very long.
  • Check for missing keys and open issues where appropriate.