Open Methuselah96 opened 1 month ago
Latest commit: ed73fc2e638cf15bfd8d9cdc36d56c266a5f9f91
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Fixes #5911.
React 19 removes the
JSX
type from the global scope, so it now needs to be imported fromReact
.This causes some immediate issues for the users of react-select who are trying to use it with
@types/react@19
, since theSelect
types relies on theJSX.LibraryManagedAttributes
type.Note that this is technically a breaking change because it requires TypeScript users to have a version of
@types/react
after https://github.com/DefinitelyTyped/DefinitelyTyped/pull/64464 shipped.