Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unusable with the newest React version? #20

Open
danielrenninghoff opened this issue Feb 13, 2015 · 4 comments
Open

Unusable with the newest React version? #20

danielrenninghoff opened this issue Feb 13, 2015 · 4 comments

Comments

@danielrenninghoff
Copy link

Hello,

awesome component, but I can't use it :(.

When trying out your examples, I get warnings like

Warning: Required context `kineticContainer` was not specified in `Star`. Check the render method of `App`.

and an error

Uncaught TypeError: Cannot read property 'add' of undefined

It seems like kineticContainer is somehow undefined. It probably has to do with some changes in the use of react contexts.

I'm a noob when it comes to react, this is actually my first time using it (for drawing a canvas), so I am not able to fix this myself. It would be awesome if a fix could be found! :)

@freiksenet
Copy link
Owner

Thanks for the report!

It's a known problem, I was trying to fix it for a while, no luck this far. I'll get back to it eventually. There is some problem with transferring context in newer version of React, probably related to new way components are initialized.

@matthiaskrieft
Copy link

Awesome, absolutely! Unfortunately I can't use it either because it requires react 0.11.

Is there any progress on this one?

@freiksenet
Copy link
Owner

It will have to wait until version 0.14, when React will split to base react and renderer packanges, then react-kinetic can be one of such renderers.

@danvk
Copy link

danvk commented Sep 21, 2015

Any update on this? React 0.14 RC is out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants