react-konva
react-konva copied to clipboard
Child components update before parent during updates
Description: When using React-Konva library, I noticed an issue where the child components are updated before the parent during updates. This behavior can cause unexpected results and may affect the rendering of the application.
To reproduce the issue, please follow these steps:
Visit the following link: Reproducible Example Open the browser developer tools. Wait for the 3s timer to trigger an update.
You will notice that the "renderViewText" log appears before the parent component updates, indicating that the child components are updated ahead of the parent component.
Reproducible Example: You can find the source code for the issue in the following CodeSandbox project: Source Code
Please investigate this issue and provide a solution or workaround to ensure that the parent component updates before its child components during updates.
Thank you for your attention to this matter.