Skip to content

docs: hooks.mdx presents deprecated numeric priority as co-equal, and omits useTexture/useTextures #3837

Description

@DennisSmolek

Two gaps in docs/API/hooks.mdx.

Numeric priority is presented as a live option. L150 still offers "or a numeric priority" for ordering within a phase, and L156 adds that useFrame(fn, 1) is still accepted — while the sample beneath demonstrates only before/after. Numeric priority is deprecated and slated for removal, so the page should say that rather than present the two as equivalent choices.

useTexture and useTextures have no entry at all. Both are exported from core/hooks/index.tsx; the page documents only useThree, useFrame, useLoader and useGraph.

Acceptance: numeric priority is marked deprecated with the before/after replacement, and both texture hooks are documented.

Item 9 of the pre-publish audit. Beta-level; not an alpha.3 gate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions