Simplify mapping between `react-aria`'s API and ours
sebald opened this issue · 1 comments
sebald commented
Description
react-aria
prefixes boolean values and HTML attributes with "is"
while we use the native version. For example, required
vs isRequired
. Currently we manually map between these values. This is fine in most cases, but there are some mappings that are not so simple. For example: defaultSelected
vs defaultChecked
.
Proposal
Write a small helper that knows the mapping, so we don't make simply mistakes while mapping, a ariafy
helper.
github-actions commented
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days.