News for hackers. Stuff that matters.
Re:Create React Apps with No Configuration by JoeCortopassi on Friday July 22, 2016 @01:22PM (#12145030)
This is great for someone who wants to get started to learn React, but is missing a ton that is needed for a real world production app.

  * No isomorphic rendering
  * No hot module replacement
  * No generators
  * No dockerization
  * No Sass support
  * No test environment setup
  * No code splitting
It would be cool to have a production ready tool from Facebook, but I'll stick with gluestick for now https://github.com/TrueCar/gluestick/blob/develop/README.md#...
Re:Create React Apps with No Configuration by ctvo on Friday July 22, 2016 @01:40PM (#12145208)
What an odd and arbitrary list. SASS support over LESS over PostCSS over CSS in JS? Component boilerplate generation is required for production? Hot module replacement is required for production? Everyone using React is looking for an isomorphic solution? Docker support?!

I think the point of the project is to acknowledge that React requiring transpilation to use is 100% accurate and there needed to be a transpilation / workflow solution to make it easier to adopt. It wasn't let me solve every single problem for you, including setting up your production deployment environment using Docker.

Re:Create React Apps with No Configuration by abritinthebay on Friday July 22, 2016 @02:17PM (#12145534)
> SASS support over LESS over PostCSS over CSS in JS?

Well yes, because any CSS in JS solution (in PostCSS) is just plain bad for a myriad of reasons.

That would leave you with SASS vs LESS and SASS is massively more popular and supported.

Re:Create React Apps with No Configuration by atoko on Friday July 22, 2016 @02:42PM (#12145733)
I think parent was suggesting inline styles
Re:Create React Apps with No Configuration by Exuma on Friday July 22, 2016 @01:58PM (#12145357)
Dockerization, are you crazy? This is just a simple boilerplate. If you want something absurdly complicated (and frustrating to work with imo), use something like Este https://github.com/este/este
Re:Create React Apps with No Configuration by abritinthebay on Friday July 22, 2016 @02:19PM (#12145554)
It's goal is to be for a front-end SPA. None of that is needed for it's stated goals.

Also - HMR, generators, dockerization, sass, & test environments are not needed for many/most projects initially. When they ARE needed you'll be beyond the point you need this kit anyhow.

Re:Create React Apps with No Configuration by jonknee on Friday July 22, 2016 @01:30PM (#12145113)
And it doesn't even write your app for you, how dare they!
Re:Create React Apps with No Configuration by JoeCortopassi on Friday July 22, 2016 @01:38PM (#12145194)
My point wasn't to belittle the work, they did a great job, it was just pointing out how far you can go with something like this. This just doesn't have as many of the things people need as other similar projects do.
Re:Create React Apps with No Configuration by jonknee on Friday July 22, 2016 @01:49PM (#12145284)
It seems like they were shooting for the MVP here, not trying to make it the kitchen sink. Not everyone wants dockerization, Sass, isomorphic rendering, etc.
Re:Create React Apps with No Configuration by mumphster on Friday July 22, 2016 @01:29PM (#12145100)
None of that is needed for a real world production frontend app, with the exception of maybe tests.
Re:Create React Apps with No Configuration by JoeCortopassi on Friday July 22, 2016 @01:33PM (#12145139)
Granted, some things like hot module replacement and generators are not necessary, most of the others are (isomorphic rendering, code splitting, sass, dockerization).

I'm not saying you need those things for your personal react app going into production, but when dealing with bigger teams for a critical app they really become important tools

Re:Create React Apps with No Configuration by seangrogg on Friday July 22, 2016 @02:04PM (#12145413)
In all fairness, most "critical apps" won't be using a standardized boilerplate anyways. It makes little sense to optimize for the least-likely consumer.
Re:Create React Apps with No Configuration by hex13 on Saturday July 23, 2016 @10:28AM (#12149536)
1. Sass is not as needed as it used to be (native CSS variables, PostCSS, CSS Modules, Radium, inline styles etc.).

But of course many users prefer Sass. But Sass in its CSS syntax (SCSS) is (if I'm correct) just super set of CSS. You can always start project using vanilla CSS and when project will grow, you can add Sass.

There are two approaches to develop new projects: big design up front and YAGNI principle (you ain't gonna need it). I prefer YAGNI and I'm glad that Facebook generator is so minimal. But I don't know what they are planning to do with this project. I think this project would be a lot worse if they forced to use Sass(or Radium or any opinionated CSS solution).

2. code splitting? If I understand correctly it's Webpack feature needed mainly for production, not development. So why to add this on the very beginning of your project?

Re:Create React Apps with No Configuration by griffinmichl on Friday July 22, 2016 @01:34PM (#12145154)
You just perfectly described the problem with Front End Engineering that this tries to tackle.
Re:Create React Apps with No Configuration by JoeCortopassi on Friday July 22, 2016 @01:37PM (#12145179)
I guess what I was trying to bring up, is that this has already been solved by a bunch of people already, but with a lot more features. We use Gluestick, but others use stuff like https://github.com/mxstbr/react-boilerplate