r13i / sugarshare-extension-chrome

A Chrome extension for SugarShare
Mozilla Public License 2.0
0 stars 0 forks source link

Updating folder structure #5

Closed reynnan closed 2 years ago

reynnan commented 2 years ago

Separating components from feature

Components are all the React elements that make sense by themselves, for example, the BottomButton can be reused in multiple ways

Features are React elements that are specific for a part of the app, that probably use API call for a specific scenario etc

Moving App to source, once it is not a feature or a 'simple' component

r13i commented 2 years ago

Note: This works because baseUrl has been set in tsconfig in this PR: https://github.com/sugarshare/sugarshare-extension-chrome/pull/4/files#diff-c84d40e1d5bdb9b2277e270484f3e49232d6f080aa987a720fdc6312367db1e7R25