DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
React Hook "useState" is called in function "app" which is neither a React function component or a custom React Hook function react-hooks/rules-of-hooks
//Try to capitalize 'app' like const App = props => {...} export default App;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#React
#Hook
#called
#function
#React
#function
#component
#custom
#React
#Hook
#function
ADD COMMENT
Topic
COMMENT
Name
4+7 =
Submit