Is it good practice / possible to generate unknown prop warnings for a component? I think it would help to recognize quickly errors in the code. As far as I know props not defined in propTypes will just be ignored.
For example if I have a
Box component that accepts a
color prop, the following prop would not generate a warning/error:
This is just a simple example, but sometimes there are multiple props and such naming that mistakes can happen.