michealengland/timeline-app

Refactor AddNewPost

Closed this issue · 0 comments

<AddNewPost /> is a very large and complex component that needs to be refactored into smaller pieces.

Goals:

  • Simplify state management with something like useReducer
  • Simplify logic where possible
  • Breakup UI into smaller reusable components ex: text input, button, etc...

This update will make creating the edit post functionality much simpler.