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 ...
·5 min read·jameswilliams.hashnode.devRead the article
Richy Condon
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.