Skip to content

Conversation

@eps1lon
Copy link
Owner

@eps1lon eps1lon commented Mar 21, 2024

Closes eps1lon/DefinitelyTyped#22

Commits are split into the changes that the codemod covers and changes that need to be done manually.

Remaining issues

  • @headlessui/react/dist/components/listbox/listbox.d.ts declares ListBox, ListBox.Option (and many more it seems) as a forwardRef render function i.e. (props, ref) => Node which is almost certainly incorrect (unless they expect people to pass it to forwardRef first. This was not caught because previously, structurally ref took up the position of legacy context.

@eps1lon
Copy link
Owner Author

eps1lon commented Mar 21, 2024

Finished. Remaining issues in headlessui/react tracking in eps1lon/DefinitelyTyped#25

@eps1lon eps1lon closed this Mar 21, 2024
@eps1lon eps1lon changed the title Install React 19 types Compat with React 19 types Mar 21, 2024
@eps1lon eps1lon self-assigned this Mar 21, 2024
@eps1lon eps1lon changed the title Compat with React 19 types react.dev: Compat with React 19 types Mar 21, 2024
@eps1lon eps1lon mentioned this pull request May 13, 2024
22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

React 19 and react.dev

2 participants