Warning: Can't perform a React state update on an unmounted component when SCRIPT_DEBUG true #19642
Labels
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
Describe the bug
When
SCRIPT_DEBUG
is defined as true then the following message is written to the console log when performing trivial actions such as Duplicate block or Remove block.The stack trace seems to vary.
To reproduce
Steps to reproduce the behavior:
define( 'SCRIPT_DEBUG', true );
in wp-config.phpExpected behavior
Either some documentation explaining which messages are expected and why.
Or no message for this action.
Screenshots
This is a screenshot when Gutenberg 7.2.0 is activated. In this post I deleted a paragraph.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Initially mentioned in #18977 and on Slack https://wordpress.slack.com/archives/C02QB2JS7/p1578996401066300
The text was updated successfully, but these errors were encountered: