Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

study view - add timeout before rerendering study view charts #3461

Merged
merged 1 commit into from
Oct 16, 2020

Conversation

adamabeshouse
Copy link
Contributor

…chronous rendering is jamming things up

Signed-off-by: Adam Abeshouse <abeshoua@mskcc.org>
@@ -376,7 +377,14 @@ export class StudySummaryTab extends React.Component<
// issue will be solved.
return (
<div key={chartMeta.uniqueKey}>
<ChartContainer key={chartMeta.uniqueKey} {...(props as any)} />
<DelayedRender>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be an interesting experiment: if you basically debounce render so that in a space of say x ms, it only actually fires the last render. i would be curious to see if we are in fact getting a lot of these unnecessary render cycles and would benefit from this kind of throttling

@adamabeshouse adamabeshouse merged commit 23e5754 into cBioPortal:master Oct 16, 2020
@adamabeshouse adamabeshouse deleted the 7977-sv-checkboxes branch October 16, 2020 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants