react-component / react-component/select
The customizeInputElement type definition are wrong such that it would throw an error on type checks
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 938
- Forks
- 482
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 2
Description
Well, It would throw an error says that Type null is not assignable to type ReactElement and further caused references or inner component to cause error as expected.
Tell me if I got it wrong, thanks!
Contributor guide
No contributing guide indexed for this repository
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 src/generate.tsx at lines 625–626 and inspect the customizeInputElement type definition. Run the project’s TypeScript checks to reproduce the reported null-versus-ReactElement error; done means the definition no longer produces that error for valid usage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100