Earlier quoted context omitted.
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.
Create React Apps with No Configuration
221–230 of 250 posts
Re: Create React Apps with No Configuration
#222Earlier quoted context omitted.
This is super useful for helping beginners overcome initial barriers and quickly become productive, but do you see this as something that most will eventually grow out of?
When you grow out of it, you run "eject" and customize everything you want. We think in the beginning many will "eject" but we will gradually make the defaults better to cover more and more use cases.
Perhaps exposing a subset of those tools' configuration options would be sufficient.
Alternatively, you could imagine a pretty simple system that allows you to pull newer versions of the "ejected" code and handle merge conflicts using your version control software.
I'd also suggest reducing the amount of non-configuration code that's generated by "eject". I think basically everything in "scripts" could be put into a package ("openChrome.applescript" seems like it should be a feature of opn anyway). That would also reduce the number of devDependencies that need to be added to your project's package.json (rimraf, chalk, opn, etc)
Re: Create React Apps with No Configuration
#223Re: Create React Apps with No Configuration
#224Earlier quoted context omitted.
But that's the beauty of Ember: you run one tool. `ember`. Sure it uses Babel under the hood and a CSS preprocessor, but they are not separate tools really. But what exactly is wrong with a CLI? I'm sorry but I really don't get your point. I mean, you kind of have to run one or more anyway if you want to do modern JS development because the JS you write isn't the JS that gets served to the browser (and for good reaso…
> A CLI is a requirement and has been for a while now. It's really not, you can get by fine with a text editor and a web browser only. You can use regular web components (works unmodified in Chrome, there's a polyfill for other browsers) and get modularity and all of the things you need. You can add Polymer which, again, doesn't require anything but an editor and a browser.
Re: Create React Apps with No Configuration
#225What the heck is that terminal font?
Re: Create React Apps with No Configuration
#226Earlier quoted context omitted.
This right here is why I actively suggest not using webpack. It's Grunt 2.0 all over again and not worth the mess. IMO it's the worst choice Facebook could have made for this toolkit, as it breeds some awful habits.
I actually use browserify for personal projects. It's ultra simple to get started. My boss insists on using webpack.
Re: Create React Apps with No Configuration
#227Earlier quoted context omitted.
This right here is why I actively suggest not using webpack. It's Grunt 2.0 all over again and not worth the mess. IMO it's the worst choice Facebook could have made for this toolkit, as it breeds some awful habits.
What’s wrong with using webpack under the hood? The problem is webpack being a lower level tool. This is why we abstract it away from you (and we can swap it for something better if it comes along, but actually webpack is pretty powerful).
But they very fact you had to spend time abstracting away WebPack speaks volumes IMO...
Re: Create React Apps with No Configuration
#228Earlier quoted context omitted.
Pretty much all the same reasons people railed against Grunt. It's config heavy for very little benefit.
The only practical reason I can think of for people railing against grunt is that it used the file system for in-between steps and was thus frustratingly slow (a problem that webpack doesn't have). Code vs config is a huge bikeshed
Not really. Historically it's been an indication of the quality of a system.
Re: Create React Apps with No Configuration
#229Earlier quoted context omitted.
This right here is why I actively suggest not using webpack. It's Grunt 2.0 all over again and not worth the mess. IMO it's the worst choice Facebook could have made for this toolkit, as it breeds some awful habits.
Really? I find Webpack to be an order of magnitude easier to explain and understand when compared to Grunt.