GregDevProjects / pr-explore

Browse repositories and open PRs of hardcoded accounts
0 stars 0 forks source link

Design patterns #3

Open GregDevProjects opened 2 years ago

GregDevProjects commented 2 years ago

Package by feature

Children of the src directory will contain high level components. These child directories will contain any needed logic/styles for the component.

directory structure should look something like:

- src
  - app (highest level components that wrap the page)
  - common (shared components)
  - accounts 
  - repos 
  - prs 

Component standards

  1. The component is responsible for it's own state, it shouldn't depend on other components
  2. The PR #6 , Repo #5, and Accounts #4 components must take up the full width of their containers. Width/height styling will be provided by the component that implements it.