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.
My use case is that I have a custom base component that almost all of my other components inherit from and would like to have validation done on those components.
If there's a place I could be pointed to to start working on this I'd be happy to!
Thanks so much!
The text was updated successfully, but these errors were encountered:
Hi there!
Is there a way to add custom component detection such that subclasses of a custom component can still get their props validated?
According to https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/prop-types.md#about-component-detection only components that utilize createReactClass(), inherit from React.Component or Component, or are stateless functions can have their props validated.
My use case is that I have a custom base component that almost all of my other components inherit from and would like to have validation done on those components.
If there's a place I could be pointed to to start working on this I'd be happy to!
Thanks so much!
The text was updated successfully, but these errors were encountered: