Relative Content

Tag Archive for javascriptreactjsreact-hooksmemoization

ReactJS component equates useMemo with new arguments

I have this piece of code below (in reactJS). Basically it is part of a widget and every time data updates, both “GraphInfo changed:” and “GraphData changed:” meaning that the uhsestate and useMemo are ignored. I basically want to derive different data from data with the variable of graphInfo.