You might want your state hook to be an object. Which is fine, it can absolutely be one. const [state, setState = useState({ language: 'React', proficiency: 'confused' }); The trouble comes when you try to update it. You might think you c...
This week I learnt...
Front End Developer. I like problem solving and making things pretty. I also like red.
Markdown supported · ⌘↵ to post
No responses yet.