Skip to content

Await the prefetch and navigation gates in the components - #3

Merged
aurorascharff merged 1 commit into
mainfrom
chore/gate-in-components
Sep 28, 2026
Merged

aurorascharff merged 1 commit into
mainfrom
chore/gate-in-components

Conversation

@aurorascharff

@aurorascharff aurorascharff commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

The unstable_prefetch() / unstable_navigation() gates move out of the query functions and into the async server components that call them, right before the query call. The queries keep their extract-and-pass shape (getBookingsForUser, searchFlightsCached) and their caching; only the render-stage decision moves to where the render happens.

getSeatHolds is the one exception and keeps its gate: BookingStepPanel hands its promise to the client form without awaiting it.

Same shape as the mail demo and the skill's updated references/instant-navigation.md. Build passes locally; I did not run the e2e suite here, CI will.

🤖 Generated with Claude Code

…ueries plain

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
next16-airline Ready Ready Preview Sep 28, 2026 9:38pm UTC

Copilot AI lite review requested due to automatic review settings September 28, 2026 21:38
@aurorascharff
aurorascharff merged commit 0435e1d into main Sep 28, 2026
5 checks passed
@aurorascharff
aurorascharff deleted the chore/gate-in-components branch September 28, 2026 21:43
@aurorascharff
aurorascharff removed the request for review from Copilot September 28, 2026 23:02

This branch was successfully deployed

1 active deployment
Preview — 09179ed5 Deployed Sep 28, 2026 by vercel[bot]
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.

1 participant