The best boilerplate app is the one you code yourself
mindthecode.com
mindthecode.com
Yes, creating my own boilerplate is attractive from a learning experience. Except when it's not learning but figuring out how to configure Webpack. Or how to get HMR working. Then it just becomes a chore and I explore Github for the best boilerplate for my needs.
To me, a boilerplate and a library aren't significantly different. The former is just exposed a lot more.
When picking the defaults to use without config, be sure they're settings that you want people to use.
Sharpening your saw is great but if you just want some firewood you should use your trusty old blocksplitter.
However, if you code up a custom solution that ignores some important detail of some deeper area of knowledge like security or concurrency, then your "3-day" solution might literally wind up costing millions or hundreds of millions. (Exercise: Name some famous historical precedents from famous companies relevant today.) Of course, the downside for your garden variety consultant is probably only worse by a factor of 2 to 10, but the point remains.
This is why the mastery of knowledge and practical experience necessary to reliably do such a cost-benefit analysis is very valuable. The upside in making decisions like this is something like saving 4 days or a week of programmer time. The downside can be literally worth a 21st century fortune.
Whenever I come back to a boilerplate project, they're usually using the most recent versions of libraries, or they have some great new features. Examples:
* Rails Composer, for Rails apps: https://github.com/RailsApps/rails-composer
* Ignite, for React Native: https://github.com/infinitered/ignite
I do have one hand-written script that I use for all of my static sites. It copies all the static files into a build directory, gzips HTML/CSS/JS, syncs everything to an S3 bucket, then makes an API request to Cloudflare to purge the cache. But I'm planning to move all my static sites to Netlify [1], so I won't need that script for much longer.
Thanks for the feedback, i'll go back to content-only.
I'm running the above on a flask/swagger api. But I need a backbone or something similar.
I looked at reclinejs but their more focused around the data. So missing some slickgrid functionality I need.
I tried to componentize it with mithril... but mithril great; the way I want to use it wrong.
So back to drawing board thinking of componentize with $.onmount next. I just need some small kind of mvc, I'm looking at backbone. But I need a slickgrid dataview that understands collections nicely :/
gah!?! why do I do this to myself!