News for hackers. Stuff that matters.
Re:Understanding UseMemo and UseCallback by epmatsw on Tuesday August 30, 2022 @07:24PM (#32656469)
I’d argue that useReducer and maybe even useRef most people could get away without knowing.
Re:Understanding UseMemo and UseCallback by postalrat on Tuesday August 30, 2022 @10:34PM (#32657689)
useRef is pretty important. useReducer though could be removed and I wouldn't notice.
Re:Understanding UseMemo and UseCallback by michaelsalim on Thursday September 01, 2022 @09:39PM (#32685630)
I'm inclined to agree with you since I don't use useReducer as well. But there are projects that are littered with that -w-