Live data from Hacker News

Create React Apps with No Configuration

facebook.github.io

31–40 of 250 posts

Re: Create React Apps with No Configuration

#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"

Re: Create React Apps with No Configuration

#32
As someone new to React, I wonder

a) How is this different from getting a custom starter kit/generator from Yeoman. Searching in yeoman, I see several for "React" with the top one having over 9.5k stars http://yeoman.io/generators/

b) Is Facebook planning to maintain and keep this generator current? Why don't they just contribute/recommend an existing generator

Re: Create React Apps with No Configuration

#33
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

#34
post #3

This is lacking tons of features that other boilerplates already have but I think this was a great move because we needed a source of truth for doing app structure in React. In a different note, I think if you write it yourself from scratch you'll have more control and knowledge down the road when it comes to nasty bugs but I won't blame you for choosing this over spending weeks setting up a React app.

If you work with React a lot, you can setup a React project to your taste in about 30 minutes. But the catch being if you leave React for a while then come back, all bets are off.

I think most boilerplates add way too much and are overly opinionated. I like that this is simple, and "eject" gives power users an even better starting point.

Re: Create React Apps with No Configuration

#35
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"

Many people (especially beginners) appreciate automatic updates of their dependencies. If you eject straight away you’ll have to manage them yourself, which is a big turnoff to many.

Re: Create React Apps with No Configuration

#36

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

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

#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!

Re: Create React Apps with No Configuration

#38
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.

Re: Create React Apps with No Configuration

#40

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

None of that is needed for a real world production frontend app, with the exception of maybe tests.

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

Post reply on HN