Let’s build our useState hook! So to mimic the useState hook from React.js, the first thing that comes to mind is to define a function that takes in the initial value and returns the initial value along with a function to update that value. During th...
yog3sh.hashnode.dev2 min read
No responses yet.