how-to-gutenberg-plugin
how-to-gutenberg-plugin copied to clipboard
React error in console on block remove
WP version: 5.4 Theme: Twenty Twenty 1.2
Wordpress is using built-in Gutenberg, when I create post and adding new demo custom block then remove it, there is a react warning in console (from react_devtools_backend.js file): 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.