Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

Typescript useState Expected 0 arguments, but got 1

$
0
0

I encounter a problem with useState. I try to put a variables initial value into false but the VSCode tells me that it expects 0 arguments on useState function call.

Can I get some help?

VSCode Error

Error message


Viewing all articles
Browse latest Browse all 6287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>