banReactFCAvoid React.FC/FunctionComponent/VFC/VoidFunctionComponent types. They break debug information and profiling. Use explicit function declarations instead: `function Component(props: Props) { ... }`small-rules/ban-react-fcBan React.FC and similar component type annotations. Use explicit function declarations instead.
banReactFCAvoid React.FC/FunctionComponent/VFC/VoidFunctionComponent types. They break debug information and profiling. Use explicit function declarations instead: `function Component(props: Props) { ... }`This rule does not accept options.
const Component: React.FC = () => {};function Component() {}