Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

React Hook "React.useState" is called in function "placeItem" which is neither a React function component or a custom React Hook function react-hooks/rules-of-hooks

 React Hook "React.useState" is called in function "placeItem" which is neither a React function component or a custom React Hook function  react-hooks/rules-of-hooks

answer :- function name must be start with capital letter
 
PREVIOUS NEXT
Tagged: #React #Hook #called #function #React #function #component #custom #React #Hook #function
ADD COMMENT
Topic
Name
1+6 =