
[32] useState It manages the state in a functional component. For example, toggle visibility of text. const [visible, setVisible] = useState(false); onClick = { () => setVisible(!visible)}; useEffect React has a new tool called the useEffect hook. I...
System Engineer @ Nuclei
Hiya 👋 I'm Pranav. I'm a recent computer science grad who loves punching keys, napping while coding and lifting weights. This space is a collection of my journey of active learning from blogs, books and papers.
Markdown supported · ⌘↵ to post
No responses yet.