> Like we know so far, Hooks let's you use React without classes useState is a built-in Hook which is use to add state to function component. useState() ALWAYS returns an array with exactly two elements, which we can rename with array destructuring....

Markdown supported · ⌘↵ to post
No responses yet.