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

@ShaneK ShaneK commented Aug 17, 2026

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 owner August 17, 2026 18:14
@ShaneK
ShaneK requested review from brandyscarney and removed request for a team August 17, 2026 18:14
@vercel

vercel Bot commented Aug 17, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
ionic-docs Ready Ready Preview Aug 18, 2026 7:02pm

Request Review

@thetaPC thetaPC 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 thread docs/updating/9-0.md Outdated
Comment thread docs/updating/9-0.md Outdated

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

3 participants