Skip to content

Instantly share code, notes, and snippets.

@PeterKow
Last active August 13, 2018 13:44
Show Gist options
  • Select an option

  • Save PeterKow/1eb7761e127951f3e63b35dbb971a6bb to your computer and use it in GitHub Desktop.

Select an option

Save PeterKow/1eb7761e127951f3e63b35dbb971a6bb to your computer and use it in GitHub Desktop.
Example of Feature grouping
├── src
| ├── orders (feature - all things related to Orders should be in this folder )
| ├── order.styles.js/css
| ├── order.api.js
| ├── order.redux.js
| ├── order.jsx
| ├── order-list.jsx
| ├── payments (feature - all things related to Payments should be in this folder )
| ├── payment.api.js
| ├── payment.redux.js
| ├── payment.jsx
| ├── payments-list.jsx
| ├── users (feature - all things related to Users should be in this folder )
| ├── user.jsx
| ├── users-list.jsx
| ├── common (feature - all things related to shared components and logic should be in this folder )
| ├── button.jsx
| ├── avatar.jsx
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment