Skip to content

Conversation

@rschristian
Copy link
Member

Re: preactjs/preact#4683

In X (and past React versions), ref types were a bit loose in that RefObject<HTMLDivElement | null> could satisfy RefObject<HMTLDivElement> -- this really shouldn't have been the case. We've corrected this in v11 via the PR linked above.

@JoviDeCroock JoviDeCroock merged commit 2e2c47a into main May 25, 2025
2 of 3 checks passed
@JoviDeCroock JoviDeCroock deleted the chore/v11-refs branch May 25, 2025 06:16
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