Posts under hooks
How to store and update arrays in React useState hook
Abhishek EH | Dec 6, 2022 | 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 | Apr 1, 2023 | 3 Min Read
Tutorial on how to call the child component function from the parent component in React using useRef, useImperativeHandle, and forwardRef.