What would you add to create-react-app?
Re:I Don't Want to Configure Apps (2016)
by bpicolo on Monday December 04, 2017 @10:16AM
(#15844419)
My typical case is needing a backend for an API layer (and also pages I just don't want to fuss with SPAs for - data-heavy admin pages and such where it's a bunch of wasted effort and boilerplate to do in SPA form). With the alternatives above you get that integrated in dev environments all the way through minified in production.
Totally makes sense, thanks
Re:I Don't Want to Configure Apps (2016)
by GFischer on Monday December 04, 2017 @12:05PM
(#15845393)
Thanks for the links, I wasn't aware of SpaServices :)
Re:I Don't Want to Configure Apps (2016)
by bpicolo on Monday December 04, 2017 @12:08PM
(#15845422)
SpaServices is especially fun as it runs a nodejs sidecar and does server-side rendering pretty much seamlessly (if you use the yo generator to bootstrap an app). No idea how well it adapts/scales in production, but it does work well from the getgo. I prefer the sidecar model to running nodejs on the backend in general, though, so I'm biased in that regard.
[0] https://laravel.com/docs/5.5/mix
[1] https://github.com/rails/webpacker
[2] https://blogs.msdn.microsoft.com/webdev/2017/02/14/building-...