Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wp.compose.withState is deprecated since version 5.8. Please use wp.element.useState instead. #2090

Open
tobiasBora opened this issue Jan 5, 2025 · 1 comment

Comments

@tobiasBora
Copy link

The project uses wp.compose.withState but this is deprecated since version 5.8. Would be great to use the recommended wp.element.useState given in the error message:

wp.compose.withState is deprecated since version 5.8. Please use wp.element.useState instead.
@AlexGStapleton
Copy link
Member

Hi Tobias,

Thanks for reaching out. We're currently working on a new version of our widget block that doesn't use wp.compose.withState, and hope to have it ready for release soon.

Kind regards,
Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants