dequelabs / dequelabs/cauldron

Investigate `ComponentProps` or `HTMLProps` vs `HTMLAttributes`

Open
#1,252 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.