Repository navigation
docs: clarify hydration and flash tradeoffs - #101798
Open
aurorascharff wants to merge 28 commits into
Open
aurorascharff wants to merge 28 commits into
aurorascharff wants to merge 28 commits into
Conversation
Contributor
|
Vercel Agent finished reviewing your changes and approved this pull request. ExplanationReviewed the full diff and latest fallback explanation against the merge-base documentation policy. The wording preserves the hydration caveat and visible-change tradeoff, and all example code remains unchanged from the previous review; no blocking findings or escalation triggers apply. Review steps (41.7s)Preparing the workspace 20.6s |
Contributor
Tests PassedCommit: b14a332 |
aurorascharff
marked this pull request as ready for review
November 15, 2026 19:26
aurorascharff
requested review from
icyJoseph
and removed request for
icyJoseph
November 15, 2026 19:31
aurorascharff
marked this pull request as draft
November 15, 2026 19:31
Contributor
|
All broken links are now fixed, thank you! |
aurorascharff
force-pushed
the
codex/docs-hydration-lint
branch
from
November 26, 2026 15:13
5bd9461 to
06c6f84
Compare
<!-- NEXT_JS_LLM -->
aurorascharff
changed the base branch from
canary
to
docs/lazy-loading-use-cases
November 27, 2026 13:46
<!-- NEXT_JS_LLM -->
<!-- NEXT_JS_LLM -->
aurorascharff
marked this pull request as ready for review
November 27, 2026 14:37
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Clarify when preventing a flash needs an inline script and when a server-rendered fallback is enough. The date example formats the fallback once on the server and passes that label to the Client Component. The browser can then show a localized date without a hydration mismatch.
Keep the choice in the Preventing Flash guide’s existing “When to use other approaches” section. Link to the SPA guide for browser-only rendering, React for external-store subscriptions and the effect workaround, and #102472 for components first loaded after an interaction. The hydration error page links back to the fallback example. This PR is stacked on #102472.
Also mark the reusable inline-script helper and the
ssr: falseexample as Client Components, and use React’sdateTimeprop.Verification