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
Text.js, referenced in the stacktrace, appears to be part of the Recharts library:
The full React error message is
So it appears that Recharts is getting update requests from React faster than it expects, and some sort of recursive update is being triggered. This is almost certainly due to federated cohort Demographics requests being processed asynchronously but resolving (with new data) while the Visualization charts are still updating.
We can make an issue in Recharts but in the meantime may need to defensively defer UI updates on the Visualize screen to prevent the error (ugh). Rather than do this in the React component it may be (slightly) less hacky and unsightly to do it in the Redux async function which handles the API requests, so perhaps do so there.
The text was updated successfully, but these errors were encountered:
The error (in production) appears as:
Text.js
, referenced in the stacktrace, appears to be part of the Recharts library:The full React error message is
So it appears that Recharts is getting update requests from React faster than it expects, and some sort of recursive update is being triggered. This is almost certainly due to federated cohort Demographics requests being processed asynchronously but resolving (with new data) while the Visualization charts are still updating.
We can make an issue in Recharts but in the meantime may need to defensively defer UI updates on the Visualize screen to prevent the error (ugh). Rather than do this in the React component it may be (slightly) less hacky and unsightly to do it in the Redux async function which handles the API requests, so perhaps do so there.
The text was updated successfully, but these errors were encountered: