blockly-samples
blockly-samples copied to clipboard
Warning triggered in ReactFieldDate
Category
Examples
Component
blockly-react
Describe the bug
Console warning triggered when using the custom field ReactFieldDate
index.js:1 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
To Reproduce
Steps to reproduce the behavior:
- Run React demo
- Click on date field and select a different date in the picker
- See error
Expected behavior
No warning.
Cannot seem to replicate this issue. Any inputs on how to?