-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
react-reconciler.development.js:130 Uncaught TypeError: Cannot read property 'alternate' of undefined #171
Comments
@PawelGIX how can I reproduce? |
@PawelGIX Did you find a fix? |
I think there was something wrong with my build process. The problem no longer occurs. |
I'm now seeing this after attempting to upgrade to React 17. |
I want to wait for official |
having this issue with "react": "16.13.1" |
@AonanLi what |
I was using 17.0.0. I switched to 16.13.0-6 and it works now. Thanks for pointing that out! |
React 17 is now officially released, will this lib be updated? |
Already. |
jsut to confirm [email protected] will only work with react 17 right? I jsut tried to install it into a react 16.x app with the erro above... Great work on the library |
You don't need to install the last |
i'm using react 16.13.1 |
Upgrade react and react-dom package to 17.0.1 {
"@types/react": "^17.0.0", // for typescript
"@types/react-dom": "^17.0.0", // for typescript
"react": "^17.0.1",
"react-dom": "^17.0.1",
"konva": "^7.2.0",
"react-konva": "^17.0.1-3",
}
|
@derit that did the trick for me too. But I think you meant konva not _c_onva.
Anyone still using react 16.x and adding react-konva with |
The |
@lavrton I have the same issue on React 16 - TypeError: Cannot read property 'alternate' of undefined. I installed react-konva and konva with just yarn add react-konva konva. What can I do to fix this issue? |
Upgrade |
@lavrton I'm sorry. My problem is that I want to render canvas in
isomorphic application with one codebase for client and server. Can you
advice, please, how can I use canvas in isomorphic app? Or is it
impossible cause server side?
…On Thu, Mar 11, 2021 at 4:54 PM Anton Lavrenov ***@***.***> wrote:
Upgrade react and react-dom to the last version (recommended) or
downgrade react-konva with npm install react-konva@^16 (not recommended).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#171 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHWOU2YENOSQRZ6CW6GZ3UDTDDKRPANCNFSM4EQGCGGA>
.
|
@lavrton I use React Starter Kit https://github.com/kriasoft/react-starter-kit |
It is impossible right now. |
@lavrton I understood. Thank you. I will not use canvas and will find another solution. |
it's working after updating react-konva npm packages. |
Any ideas what could be wrong?
The text was updated successfully, but these errors were encountered: