Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

cannot be used as a JSX component

// remove your package.lock.json and node_modules, install again

"@types/react": "*",
"@types/react-dom": "*",
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #JSX #component
ADD COMMENT
Topic
Name
2+6 =