You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.
Isn't #11 somewhat related? If you warned about every property that wasn't defined, wouldn't that highlight onaction as not defined? You could also look for similar cases though to provide a better error message - did you mean 'onAction'?.
@lukescott A warning about different capitalization would be useful in any scenario, as it is most likely a typo. The issue mentioned in #11 does overlap, but seems like it should be opt-in.
This seems like something that React itself would have to do. Separately, PropTypes.exact can catch all these typos by warning on any unrecognized prop.
Original issue: facebook/react#6153
The text was updated successfully, but these errors were encountered: