-
-
Notifications
You must be signed in to change notification settings - Fork 257
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
Different behavior for list rendered by normal react and react-konva. #636
Comments
It looks like it is because of order of updates is not correct. The child component is updated before the parent component. It comes from See this for more info: |
Hmm, |
If I understand correctly, child component updating before parent component is valid case. They catch error on store update and wait error on next component render. Following action sequence:
But with |
Closing the issue because I am not sure what to fix here. If it is still important for you, please make a minimal demo to reproduce the issue. |
Hi,
Thank you for your library, it's awesome!
I'm trying to understand why react-konva has different behavior with list.
I have a test application
It uses react, react-redux, react-konva.
It renders list with react-konva:
It renders list with react:
If we click on rectangle or on number it deletes clicked item from store.
Problem with list which is rendered by react-konva. It has an error if we delete an item. But there is no any error with normal list.
You can comment
KonvaList
orDomList
inApp.tsx
.The text was updated successfully, but these errors were encountered: