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/all of our React components follow a definition anti-pattern that we repeated in several of our projects before someone finally noticed it. It looks something like this: export class MyPage extends React.Component<*, void>. That React.Component<*, void> basically ignores any type definitions and tells the type checker to accept props of any sort. This may be time-consuming as I noticed several components with clearly incorrect type definitions
The text was updated successfully, but these errors were encountered:
Most/all of our React components follow a definition anti-pattern that we repeated in several of our projects before someone finally noticed it. It looks something like this:
export class MyPage extends React.Component<*, void>
. ThatReact.Component<*, void>
basically ignores any type definitions and tells the type checker to accept props of any sort. This may be time-consuming as I noticed several components with clearly incorrect type definitionsThe text was updated successfully, but these errors were encountered: