Vincil Bishop
05/28/2022, 1:42 AMreact-dom.development.js:88 Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
in LoadingHOCWrapped (created by Context.Consumer)
in injectIntl(LoadingHOCWrapped) (created by LoadingHOC)
in IntlProvider (created by IntlWrapper)
in IntlWrapper (created by LoadingHOC)
in LoadingHOC
In this case, if I place two versions of the same component on a page, it starts that behavior. This is really perplexing and would be a blocker to implementation.
Thanks in advance for your assistance and please let me know if there is more information that I can provide.Vincil Bishop
05/28/2022, 2:06 AMVincil Bishop
05/28/2022, 2:06 AMVincil Bishop
05/28/2022, 2:17 AMVincil Bishop
05/28/2022, 1:49 PMVincil Bishop
05/28/2022, 1:58 PMVincil Bishop
05/28/2022, 5:09 PMLeilani Greer
05/28/2022, 5:13 PMVincil Bishop
05/28/2022, 5:14 PMVincil Bishop
05/28/2022, 5:15 PMVincil Bishop
05/28/2022, 5:16 PMVincil Bishop
05/28/2022, 6:29 PMVincil Bishop
05/28/2022, 6:30 PMVincil Bishop
05/28/2022, 6:30 PMVincil Bishop
05/28/2022, 6:30 PMJiri Zajic
05/30/2022, 8:37 AM<DashboardView />
component? And that it works correctly when you use <InsightView />
to render individual insights?
Can you please try the <Dashboard />
component instead of <DashboardView />
? The <DashboardView />
component was an early Beta we eventually deprecated, because we decided to do a bigger refactoring of our Dashboards source code, and the outcome is that the <DashboardView />
component has become deprecated, and you should now use the <Dashboard />
component from @gooddata/sdk-ui-dashboard
.
If it's no longer an issue for you, don't worry about it. But if it is, we want make sure there are no blockers/ bugs on our side, and we would like to cooperate on resolving the issue!Vincil Bishop
05/30/2022, 12:45 PM<Dashboard/>
component. The <DashboardView/>
I think would not work for whatever reason. The <InsightView/>
component does not have the same issue as the <Dashboard/>
component.
I think if you look at the source code of the <Dashboard/>
component, you will find that there are async operations, probably from axios that are not being canceled upon component unmount. I am not a react developer so it's hard for me to speak precisely about what's going on, but from everything it appears as though async operations are being completed and returning only to try and force an update on a component that has already unmounted.
It would be nice to be able to use the <Dashboard/>
component, but we are ok to use the <InsightView/>
I think for now.
Thanks!