react-progressbar.js icon indicating copy to clipboard operation
react-progressbar.js copied to clipboard

Unable to use with React > 0.14

Open JonathanWi opened this issue 9 years ago • 4 comments

Hey @kimmobrunfeldt,

I would love to use your component, but when I try to run it following the Circle example I get the following error messages:

Warning: ProxyClass(...): React component classes must extend React.Component.
Uncaught (in promise) Error: ProxyClass.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.(…)
Uncaught (in promise) TypeError: Cannot read property '_currentElement' of null

I think it's related to the package dependencies, but I'm not sure.

Would you be so kind as to look into it?

Cheers

JonathanWi avatar Jan 14 '16 11:01 JonathanWi

Hi, This should be definitely fixed. I'll try to look into this some day but can't promise when :/

If someone want's to fix this in the meanwhile, I'll accept a PR.

kimmobrunfeldt avatar Jan 14 '16 11:01 kimmobrunfeldt

Oh okay, I'll try to look into fixing this then :)

Thanks for your quick answer!

JonathanWi avatar Jan 14 '16 11:01 JonathanWi

+1

luqin avatar Feb 19 '16 05:02 luqin

+1

alienatix avatar Mar 25 '16 14:03 alienatix