Open interlock opened 8 years ago
Express + middleware kinda sucks, webpack-dev-server is amazing but just has a ton of hidden features.
Also... this is from 6 months ago and we didn't see @interlock. Our bad... cc: @Sailias
@interlock this application was meant to be a standalone application that can transpile down to html, css, and js without the need for a node server when deploying. I use this approach to host the SPAs in S3 as a static website.
If we want to create another branch with a node server that serves this as an isomorphic website, that'd be cool too.
Ideally this application would be good with the following implementations:
I think having all these different iterations would be really cool, but I think the internals should be built on top of create-react-app
. It's setup brilliantly, actively maintained, great docs, deploys to gh-pages etc
@alex-wilmer I'm not opposed to that. create-react-app
looks pretty simple. I also agree having the different iterations would be nice. It would be nice if I could use this repo as a boilerplate for future projects in those iterations.
create-react-app
is fantastic. But it would be interesting to do this one as a full ssr. I was going to build a koa + ssr + apollo stack library myself but maybe we can just do all of that in here.
While the static server for webpack-dev works great for an SPA with an external data source, it may be nice to configure a local API to drive the SPA. If we bind and serve webpack through express we can do that!
Thoughts?