-
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
DataViews: Render data async conditionally #56851
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to me
Size Change: +65 B (0%) Total Size: 1.72 MB
ℹ️ View Unchanged
|
Flaky tests detected in 4f81535. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7126493688
|
What?
This PR adds a new prop that conditionally render data async. This way when we don't have some heavy rendering functions for fields, we don't need to show them few at the time, which produces a visual 'waterfall' effect.
Testing Instructions
preview
field is visible.