Skip to content

docs: correct v10 render priority migration guidance - #3906

Open
ICOM725 wants to merge 1 commit into
pmndrs:v10from
ICOM725:docs/v10-render-priority
Open

docs: correct v10 render priority migration guidance#3906
ICOM725 wants to merge 1 commit into
pmndrs:v10from
ICOM725:docs/v10-render-priority

Conversation

@ICOM725

@ICOM725 ICOM725 commented Sep 7, 2026

Copy link
Copy Markdown

Summary

  • Clarify that numeric useFrame priority > 0 still disables default rendering in v10 for backwards compatibility, with a deprecation warning, and recommend { phase: 'render' }.
  • Remove the incorrect double-rendering warning and use non-positive priorities in the v9 ordering-only example.

Fixes #3793.

Verification

  • pnpm exec vitest run packages/fiber/tests/useFrame.test.tsx packages/fiber/tests/scheduler-integration.test.tsx (34 passed).
  • Parsed the MDX page with Prettier, checked the changed section's formatting explicitly, and parsed both examples in that section with TypeScript.
  • Checked the wording against the current useFrame implementation, default-render guard, and frame-loop guide.
  • git diff --check.

Documentation only; runtime code is unchanged. Full CI and the hosted documentation build were not run.

@ICOM725
ICOM725 marked this pull request as ready for review September 7, 2026 06:15
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