Open grappler opened 2 years ago
As of WordPress 5.9 wp.compose.withState is deprecated and instead wp.element.useState should be used.
wp.compose.withState
wp.element.useState
useState was introduced in WordPress 5.2.
useState
The minimum WordPress version would need to be increased in the readme, but I don't think that is unreasonable as WP 5.2 was released nearly three years ago.
As of WordPress 5.9
wp.compose.withState
is deprecated and insteadwp.element.useState
should be used.useState
was introduced in WordPress 5.2.The minimum WordPress version would need to be increased in the readme, but I don't think that is unreasonable as WP 5.2 was released nearly three years ago.