uxilab / uxi

UXI Core components - https://twitter.com/uxi_lab
https://www.uxilab.eu/
5 stars 1 forks source link

When you use react-create-app along with uxi, you got errors #53

Open dervalp opened 5 years ago

dervalp commented 5 years ago

Step to reproduce:

You get:

TypeError: _Flex2.default.extend is not a function

Some other components are also concerned.

It seems the way we are building webpack required some 'special' config, (which should not...)

denisflorkin commented 5 years ago

Yeah I'm guessign you install the latest styled-components (I just did the same) and it seems that extend is the only issue. I also have other warns in v4 of styled-components (like for the .attrs(fn helpers)).

I can see two issue here: