donanroherty/StarDaddy

Refactor state providers

Closed this issue · 0 comments

State providers need improvedf layout to aid in testing and heirarchial usability.
Investigate separating primary state, such as state being written to disk, to a top level provider.
Eg. State for available tags should be available to repo display, starred repo fetching, search functionality, etc.

Top level state should contain:

  • Stars
  • Tags
  • User data

Acceptance criteria:

  • App wide state is more accessible
  • State is more testable, allowing for better isolation of components