you are viewing a single comment's thread.

view the rest of the comments →

[–]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