Lazy state initialization with React
If you are familiar with the useState hook in React, you know that it's a function that's called each time our component renders.
The function returns an array of two values, and we usually use JavaScript destructuring to both declare a variable for ...
jameswilliams.hashnode.dev5 min read
Richy Condon
Frontend Engineer, Glofox
James Williams
Fancy meeting you here!
Can you mail me? richy.condon@gmail.com
Been looking to get back in contact for a while now.