Posts under hooks
How to store and update arrays in React useState hook
Abhishek EH | Nov 1, 2021 | 10 Min Read
Tutorial on how to add, update and delete an array stored in react state, created using useState. Illustrates different ways to update the state without mutating the original array.
How To Call Child Function From Parent Component In React
Abhishek EH | Aug 13, 2022 | 3 Min Read
Tutorial on how to call the child component function from the parent component in React using useRef, useImperativeHandle, and forwardRef.