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
Most issues around prefer-stateless-function are fixed. Thanks a lot for that, but I'm still having a few cases when it's warning wrong classes.
For example, this one. The class has a constructor, but also componentDidMount and other lifecycles functions, so it should not be compatible with a SFC.
The text was updated successfully, but these errors were encountered:
Most issues around
prefer-stateless-function
are fixed. Thanks a lot for that, but I'm still having a few cases when it's warning wrong classes.For example, this one. The class has a
constructor
, but alsocomponentDidMount
and other lifecycles functions, so it should not be compatible with a SFC.The text was updated successfully, but these errors were encountered: