Skip to content

docs(react): document typed overlay hook props and typescript 5.4 requirement - #4643

Merged
ShaneK merged 3 commits into
major-9.0from
fix/react-types
Aug 18, 2026
Merged

docs(react): document typed overlay hook props and typescript 5.4 requirement#4643
ShaneK merged 3 commits into
major-9.0from
fix/react-types

Conversation

@ShaneK

Copy link
Copy Markdown
Member

Currently, nothing documents that useIonModal and useIonPopover type componentProps against the component in v9, and the React support table still says TypeScript 3.7+.

With this change, the v9 migration guide covers both, docs/react/overlays.md explains where prop types are inferred from, and the support table moves to 5.4+ with a footnote. The two React playgrounds that passed props the new typing rejects are fixed.

Note: this depends on the framework change landing first, so the guide describes type errors that don't happen yet.

@ShaneK
ShaneK requested a review from a team as a code ownerAugust 17, 2026 18:14
@ShaneK
ShaneK requested review from brandyscarney and removed request for a teamAugust 17, 2026 18:14
@vercel

vercelBot commented Aug 17, 2026

Copy link
Copy Markdown

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

ProjectDeploymentActionsUpdated (UTC)
ionic-docsReadyReadyPreviewAug 18, 2026 7:02pm

Request Review

@thetaPCthetaPC left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, non-blocker comments

Comment threaddocs/updating/9-0.md Outdated
Comment threaddocs/updating/9-0.md Outdated

@brandyscarneybrandyscarney left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just some optional changes!

Comment threaddocs/reference/support.md Outdated
Comment threaddocs/updating/9-0.md Outdated
@ShaneK
ShaneK merged commit 6a9d2b8 into major-9.0Aug 18, 2026
4 checks passed
@ShaneK
ShaneK deleted the fix/react-types branch August 18, 2026 19:05
Sign up for freeto 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.

3 participants

@ShaneK@brandyscarney@thetaPC