Skip to content

refactor: Convert all remaining tables to new useQueryTable#2575

Merged
david-crespo merged 20 commits intomainfrom
convert-all-tables
Nov 23, 2024
Merged

refactor: Convert all remaining tables to new useQueryTable#2575
david-crespo merged 20 commits intomainfrom
convert-all-tables

Conversation

@david-crespo
Copy link
Collaborator

@david-crespo david-crespo commented Nov 22, 2024

Closes #1861

On top of #2567 and #2571. Mostly mechanical, though I did have to modify useQueryTable to handle the one case of a row with no id field. The overall diff is not great, but the commit with that change is plenty clear: 733bcb2.

With all three PRs stacked, we get

33 files changed, 651 insertions(+), 417 deletions(-)

Not what I hoped for, but I think we can improve on it. A lot of the stuff in ~/api/hooks can probably be cleaned up.

@vercel
Copy link

vercel bot commented Nov 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Nov 23, 2024 0:04am

Base automatically changed from fix-instance-polling to main November 23, 2024 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Page goes blank while loading next page

1 participant