'Error: Component definition is missing display name react/display-name
I tried to change .eslintrc.json but not worked.
"plugins": [
"react"
],
"rules": {
"react/forbid-prop-types": 0
}
here is errored part. Code is working.
const TypingAnimation = React.memo(
() => {
return (
<Typical
loop={Infinity}
wrapper="p"
steps={["React Developer", 2000, "Student", 2000, "Chairman", 2000]}
/>
);
},
(props, prevProps) => true
);
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
