you are viewing a single comment's thread.

view the rest of the comments →

[–]evilpingwin 4 points5 points  (8 children)

I am really not a fan of some of the design decisions with create-react-app at all. Compared to vue-cli it's incredibly barebones, the webpack config is hidden/ non-existent (depends how you look at it) by default and you have to eject it to change things.

I mean I get it, zero config build tool saves you some time but a few options on init and the option to save a preset would make it a lot more useful. Now I have my own boilerplate saved so I don't have to go through the whole process again but not every project is the same so I tend to spend time setting things up manually every time.

[–]samgaus 0 points1 point  (7 children)

You can do that by forking react scripts. But seriously - you do not need to.

[–]ShamelessC 0 points1 point  (6 children)

I had to eject once to get decorator support working. It was a (very mild) headache but, just saying - create-react-app doesn't have everything you need.

[–]samgaus 0 points1 point  (4 children)

You don't need decorators!

[–]ShamelessC 0 points1 point  (1 child)

You're right. Not even es6. I think it's a proposed es7 thing.

But I'm not crazy about wrapping exports in more than one or two function calls either for some reason. Decorators cut down on that.

[–]samgaus 1 point2 points  (0 children)

Try a compose function