You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is difficult to answer this question without seeing some source code, but if I were you I would look into optimizing with useMemo or useCallback.
It is also possible that you can use useEffect with an array dependency, but like I said, without seeing some source code, it is difficult to give better advice.
My index.js renders every time and I don't want this.
I don't know what happens, but every time I press a button on my sidebar my index.js renders
some help?
The text was updated successfully, but these errors were encountered: