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
Does not work with react 16 #120
Comments
got the same issue here... |
I guess there is nothing much that can be done. This library is really old and the issue is coming from the way it imports react and react-dom. var React = require('react/lib/React');
var ReactInstanceMap = require('react-dom/lib/ReactInstanceMap');
var ReactMultiChild = require('react-dom/lib/ReactMultiChild');
var ReactUpdates = require('react-dom/lib/ReactUpdates'); |
I will clarify current situation.
I am happy to update But I am tracking status of Fiber API here: facebook/react#9103 |
Hey @lavrton, just wondering if you had a chance to take a look at the recently released react v16. Thanks! |
@ppong I am waiting for this issue to be resolved: facebook/react#10758 |
@lavrton facebook/react#10758 has been merged. Can you update react-konva for react v16? |
Give him some time, I'm sure he's looking into it when he's available to, as he already expressed that he will. I also figure he'd need some time to figure out and rewrite stuff as react-konva can't depend on no longer existing private internals. Yes, the new reconciler package has been merged. If you are eager to get react-konva have a go at it and make a PR! |
Current status. "React Reconciler Package" PR is merged. But Stay tuned and show your love. 🙌 |
|
Great timing! |
Excellent! Now I can resume my plan to take over the world! MUAHAHAHA💥
…On Fri, Nov 3, 2017 at 1:35 AM, John Lombardo ***@***.***> wrote:
Great timing!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#120 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AE-A-QzJ_KKOhKE6h8opLCDnR5xY0Njyks5syqYTgaJpZM4Os1Lx>
.
|
Published beta version. You can try with: npm install react@16.1.0-beta react-dom@16.1.0-beta react-konva@1.5.5-beta I am going to make a master release when react v16.1.0 is out. |
Awesome work! Thanks. A small glitch, for some reason on android-chrome onClick is not working. But I am still using react 16.0.0, hope that is not the issue here. |
@lavrton I just did i try on my project, and everything is working perfectly, thanks for your effort. |
@lavrton add konva package in install command
|
I made a release |
I was trying to update our app to the react 16-beta.2 and react knova is running into the following error. Any help would be appreciated.
ERROR in ./~/react-konva/src/react-konva.js
Module not found: Error: Can't resolve 'react/lib/React' in '.../react-konva/src'
ERROR in ./~/react-konva/src/react-konva.js
Module not found: Error: Can't resolve 'react-dom/lib/ReactInstanceMap' in '.../react-konva/src'
ERROR in ./~/react-konva/src/react-konva.js
Module not found: Error: Can't resolve 'react-dom/lib/ReactMultiChild' in '.../react-konva/src'
ERROR in ./~/react-konva/src/react-konva.js
Module not found: Error: Can't resolve 'react-dom/lib/ReactUpdates' in '.../react-konva/src'
The text was updated successfully, but these errors were encountered: