Closed davesnx closed 7 years ago
Nothing @tuxracer or @darkyen or @codrin-iftimie?
Works on my end. You can clone the repo in order to see for yourself.
Maybe there is a problem with babel
. Can you give me more info about your webpack config file?
Let me try this weekend and I will tell! Thanks for respond @codrin-iftimie
Hi,
I found an interesting issue, and could be more for my curiosity, but I'm using ES6 with babel.
So I could import the module like that:
and use all of the Components that react-canvas provide. But, I didn't get any error It's just doesn't render. But... If I'm importing first the default and then I get the objects, everything works fine. (isn't the spread operator, btw).
I didn't check how the export works here, but seems that something weird is happening on the
module.export
.