... or, an evolutionary approach to building web frontends
.
├── App
│ ├── index.html
│ ├── style.css
│ └── index.js
├── Utils
├── Tools
└── package.json
.
├── packages
│ ├── components
│ │ └── package.json
│ ├── sidebar
│ │ └── package.json
│ ├── ...
│ │ └── package.json
│ └── utils
│ └── package.json
└── package.json
Packages work like packing cubes
But There Are Tools To Help!
But it wasn't easy enough to share work
Source: Google Ngram
System Package Manager
App Package Manager
Source: Google Ngram
Get something in customers hands
(Buffer was in this phase for over 6 years)
.
├── packages
│ ├── ...
│ │ └── package.json
│ └── frontend
│ ├── **sidebar.js**
│ ├── index.js
│ └── package.json
└── package.json
.
├── packages
│ ├── ...
│ │ └── package.json
│ ├── **sidebar**
│ │ ├── **index.js**
│ │ ├── **reducer.js**
│ │ └── **package.json**
│ └── frontend
│ ├── index.js
│ └── package.json
└── package.json
Idea
MVP
Iterate
New Product Idea(s)
Migrate MVP
+
Build New Products
Tooling!
Optimizing for loose coupleing