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
PropType validation for stateless function components isn't working from 3.6.0 release - example below. I'm really looking forward to this feature, thank you for all your hard work.
The text was updated successfully, but these errors were encountered:
I'm also having a prop-type check problem in my stateless functions.
In my case when I have a function with a implicit return there's no warning for missing propTypes.
For example:
// no react/prop-types warning in this caseconstAnnotation=props=>(<div>{props.text}</div>)
PropType validation for stateless function components isn't working from 3.6.0 release - example below. I'm really looking forward to this feature, thank you for all your hard work.
The text was updated successfully, but these errors were encountered: