Onebite.dev

Developer tips & trick, one bite at a time

Dev blog around react


How to update useState value based on new value reactjs Learn how to update useState value based on new value reactjs. I encountered a problem, where I can't manipulate newest addition on my array that using useState in react
Call method only once in useEffect react Be careful when using useEffect in React. it can bring unintentional behavior you don't want, like calling API multiple times