JedWatson / JedWatson/react-select
Does not work with TypeScript from version 5.8.3
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
It looks like from version 5.8.3 it's no longer compatible with TypeScript (tested with "typescript": "5.5.4").
There is no type check on <Select /> properties. Version 5.8.2 works OK.
See example:
https://codesandbox.io/p/sandbox/react-select-typescript-forked-g8lwfv
- It renders, but there is no type check so you can pass in anything.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CodeSandbox and compare the type-checking behavior between react-select 5.8.2 and 5.8.3 using TypeScript 5.5.4. Trace the published package types involved in Select properties and verify that invalid properties are rejected again; the issue is done when the regression is covered by a reproducible type check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100