3 ms·
Configuration boilerplate isn't always so necessary. For those who want to have their cake and eat it, too: 1. https://github.com/facebookincubator/create-reac
by namuol 10y ago
Configuration boilerplate isn't always so necessary. For those who want to have their cake and eat it, too:
1. https://github.com/facebookincubator/create-react-app https://github.com/facebookincubator/create-react-app
2. https://github.com/mozilla/neo https://github.com/mozilla/neo
- aligajani 10y agoSweet tooling. But I mean the ideas behind this whole new ecosystem, like the reactive paradigm. Multiple tools for transpilation, Babel/Buble etc. Just adds a layer of confusion.
- niftich 10y agoThe transpilation thing is actually an entirely separate concern from your original post. It's a subpar solution to an unfortunate situation that people want to use the latest version of the language, but not all target platforms run it yet. For lack of a better term, treat ES.Next like a compiled language, and Babel as your compiler. It's the status quo until the platforms we run code in catch up to natively executing the code JS devs want to write.
- aligajani 10y agoI know, I just didn't mean to deviate away from my original post. By the way, I use Buble with Webpack. Buble has a cleaner output than Babel. https://gist.github.com/angus-c/feea4e4cd0b853dc04c71fa4e7d2f83f https://gist.github.com/angus-c/feea4e4cd0b853dc04c71fa4e7d2...
- namuol 10y agoCare to suggest a better solution?
- aligajani 10y agoWhat do you mean?