#reacthooks
Read more stories on Hashnode
Articles with this tag
prerequisites: Grasp of reduce method in JavaScript and useState in react For reduce method, I recommend you to read my blog here:...
only understand this: Using useContext is not necessary, we use it to avoid prop drilling. Here's how prop drilling works:Let's say the grandfather...