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
If function component (Hooks) does not use "this" keyword then convert it to ES6 arrow function.
Instead of function componentName() { }
Use const componentName = () => { }
If component is only render then use const componentName = () => ()
The text was updated successfully, but these errors were encountered:
If function component (Hooks) does not use "this" keyword then convert it to ES6 arrow function.
Instead of
function componentName() { }
Use
const componentName = () => { }
const componentName = () => ()
The text was updated successfully, but these errors were encountered: