-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Reusable Blocks: Use React 18 rendering for import dropdown #48244
Conversation
Size Change: +3 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
Flaky tests detected in 5bebf3f. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4230133680
|
734c013
to
5bebf3f
Compare
I just cherry-picked this PR to the wp/6.2 branch to get it included in the next release: dd2d905 |
What?
This PR updates reusable blocks to use the React 18 rendering for the import from JSON form.
Why?
We already use React 18 concurrent rendering everywhere. This will also remove the following warning from the console:
How?
We're updating to use the new
createRoot().render()
API instead of the legacyrender()
.Testing Instructions
/wp-admin/edit.php?post_type=wp_block
Testing Instructions for Keyboard
None
Screenshots or screencast
None