dequelabs / dequelabs/cauldron
Investigate `ComponentProps` or `HTMLProps` vs `HTMLAttributes`
Open
tech debt
- Dominant language
- TypeScript
- Stars
- 127
- Forks
- 31
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 8
Description
Spurred from comment thread: https://github.com/dequelabs/cauldron/pull/1245#discussion_r1365837151
It seems `HTMLAttributes` doesn't always contain everything we need and we may need to weigh converting components over to a different type to ensure it covers all of our use cases.
Further reading: https://react-typescript-cheatsheet.netlify.app/docs/advanced/patterns_by_usecase#componentprops
Contributor guide
Assessment
This issue has not been assessed yet.