-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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: Remove TanStack #56873
DataViews: Remove TanStack #56873
Conversation
Size Change: -14.4 kB (-1%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
Flaky tests detected in 2e99941. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7131959547
|
I enabled the New admin views experiment to test. For template and pages I tested:
All work as expected. ✅ ✅ ✅ ✅ Sorry if you already know about this: There was one peculiarity I noticed on the templates data view ( 2023-12-08.12.51.37.mp4React profiler isn't working for me but Chrome points to a bunch of Switching views on pages is much snappier so I think it's the TemplatePreview component (I returned This is also on trunk, so not a blocker for this PR. |
Thanks for the thorough testing @ramonjd!
Yes, that's because of the templates preview field that is enabled when switching to |
What?
This PR removes the TanStack library that was being used in
table
view. That library was initially included when the sole supported view was thetable
view and it seems it doesn't provides much value at this stage.The reasons are multiple and I'll mention a few:
maybe
could help us a bit, like the reordering of fields.If in the future we could re evaluate if we need way more advanced table features.
Testing Instructions