Kevin Jose
kevcodes

kevcodes

Lazy state initialization `React.useState`

Oct 7, 20202 min read

The hooks API has been nothing less than a revolution in the React world. No more dealing with the complexities of the Javascript class, nor the crazy React lifecycle methods 🤮. Hooks opened up more user-friendly ways to create highly reusable logic...

Lazy state initialization `React.useState`