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 the child component function from the parent component in React
Abhishek EH | Sep 12, 2021 | 3 Min Read
Tutorial on how to call the child component function from the parent component in React using useRef, useImperativeHandle, and forwardRef.