Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Fix Throttle In Containers #447

Merged
merged 4 commits into from
Mar 21, 2017
Merged

Fix Throttle In Containers #447

merged 4 commits into from
Mar 21, 2017

Conversation

NgoKnows
Copy link
Member

This fixes the throttling of events in the victory-*-containers. Something else I noticed was that the trailing call of the throttled functions doesn't actually apply the mutations, so the trailing call isn't needed. This also removes the need to cancel the throttled functions and the need to persist events.

@NgoKnows NgoKnows force-pushed the fix-throttle-in-containers branch from 8332ad0 to 432ccf1 Compare March 21, 2017 04:40
@NgoKnows
Copy link
Member Author

@boygirl did a bit more digging, and noticed that if we can avoid rerendering all of the labelComponents on every mutation in VictoryVoronoiContainer we could save a lot of work. I'm not exactly sure how to do that though.

@boygirl
Copy link
Contributor

boygirl commented Mar 21, 2017

@NgoKnows This all looks good to me. Approved! Can you open a separate issue about optimizing label rendering for VictoryVoronoiContainer?

@boygirl boygirl merged commit ec629b3 into master Mar 21, 2017
@boygirl boygirl deleted the fix-throttle-in-containers branch March 21, 2017 19:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants