excessive redraws of graphic pages #1420
Labels
p-high-priority
This issue should be the focus of design and developement effort.
t-bug
The issue is related to an aspect of the software which is incorrect
Milestone
Describe the bug
Graphic pages are redrawing multiple times for unknown reasons. On most pages this is a performance issue. In the case of the recent line compare graphic in PR #1351 it leads to warning messages being displayed multiple times.
To Reproduce
Steps to reproduce the behavior:
Note this can also be seen by using the debugger or console.log messages on this and other graphic pages.
Expected behavior
State does not seem to be changing in a way that ought to cause the redraws. The page should only render once if all the data is in Redux state.
Additional context
The profiler was used. It shows that the renders are clearly happening. Unfortunately, the hook number does not correspond to one it labels. It is suspected that it is from one automatically generated by React and most likely the Redux Toolkit. There is an open issue with the profiler on this and a future version may show which hook is involved.
The text was updated successfully, but these errors were encountered: