Live data from Hacker News

Create React Apps with No Configuration

facebook.github.io

41–50 of 250 posts

Re: Create React Apps with No Configuration

#41
post #5

Under the hood this is Webpack + Babel + ESLint with sane initial configuration. Love it.

This is all I ever want in a React boilerplate, but everyone feels the need to throw a bunch of random shit into them that others probably do not even want. Glad they kept it sane and simple.

Re: Create React Apps with No Configuration

#42
post #31
post #9

I created something similar a month ago https://github.com/olahol/reactpack Doesn't seem like this project differs that much, although this looks to have the backing of core React developers.

I don't get why they would need to lock down the configuration and then have to offer the eject thingy. Couldn't they just offer a "facebook-certified" starter pack/bootstrap? I guess you could just do an immediate eject? Edit: looks like they contemplated that in the survey: "Yes, and I will run `eject` straight away"

> Couldn't they just offer a "facebook-certified" starter pack/bootstrap?

No, because Facebook engineers don't use or need that. Facebook only open sources or releases stuff they use—except for this. This is actually the first and probably only open source project from Facebook that they don't use in production.

Re: Create React Apps with No Configuration

#43

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/…

You just perfectly described the problem with Front End Engineering that this tries to tackle.

Re: Create React Apps with No Configuration

#44
post #25

> Having just attended EmberCamp a week ago, I was excited about Ember CLI. Ember users have a great “getting started” experience thanks to a curated set of tools united under a single command-line interface. This is one of the best things about Ember. `ember new`, `ember serve`, ember generate component my-component`, `ember build`, `ember deploy`, `ember install`. It's opinionated but it lets you get productive rig…

Don't forget: https://www.ember-fastboot.com/ Also two commands to get server rendering working.

Also don't forget: https://github.com/felixrieseberg/ember-electron One command to wrap your Ember app in Electron.

Re: Create React Apps with No Configuration

#45

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/…

You just perfectly described the problem with Front End Engineering that this tries to tackle.

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

Re: Create React Apps with No Configuration

#46
post #28

it seems like a solution to the Vjeux's challenge: http://blog.vjeux.com/2015/javascript/challenge-best-javascr... (If we don't count sharable requirement).

Integration with now.sh ( https://zeit.co/now/ ) and uploading to gh-pages is something that was cut for the release but we are thinking about doing :)

Re: Create React Apps with No Configuration

#47
post #37

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/…

And it doesn't even write your app for you, how dare they!

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

#49

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/…

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

#50
I'm fairly close to finishing the conversion of my `dev-toolkit` into an npm-module. It is almost no-config, has scss, server-side-rendering, hot-reload and more. I'm a one man band but will get there. It's all on https://github.com/stoikerty/universal-dev-toolkit

The npm-version sits in a feature branch, just look for the corresponding PR if you're keen.

Post reply on HN