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
Sometimes a component does not care about various properties it receives -- they are just passed on to children as-is, and as per the FB docs the canonical way to do this is via a destructuring assignment with a spread operator on the last variable.
prop-types warns that props validation is missing for that other variable:
warning 'other' is missing in props validation react/prop-types
I don't think react/prop-types should raise a warning about these "other" properties.
The text was updated successfully, but these errors were encountered:
Sometimes a component does not care about various properties it receives -- they are just passed on to children as-is, and as per the FB docs the canonical way to do this is via a destructuring assignment with a spread operator on the last variable.
prop-types
warns that props validation is missing for thatother
variable:I don't think
react/prop-types
should raise a warning about these "other" properties.The text was updated successfully, but these errors were encountered: