Loading...
Loading...
B) useState
`useState` ഹുക്ക് നിലവിലെ സ്റ്റേറ്റ് വാല്യൂവും അതിനെ മാറ്റാൻ ഉപയോഗിക്കുന്ന ഒരു സെറ്റർ ഫങ്ഷനും അടങ്ങിയ ഒരു അറേ റിട്ടേൺ ചെയ്യുന്നു. ഉദാഹരണത്തിന്: `const [count, setCount] = useState(0);`.
This question is part of our comprehensive PSC Malayali series. Practice more questions on our home page or visit mock tests.