profiler icon indicating copy to clipboard operation
profiler copied to clipboard

The Viewport component is slow

Open gregtatum opened this issue 7 years ago • 2 comments

I believe the fix here is to unhook the Viewport from dispatching actions. We should attach an event emitter to the store that operates independently of the actions. The mouse events fire way too fast to reasonably hit the store with.

┆Issue is synchronized with this Jira Task

gregtatum avatar Jan 11 '18 19:01 gregtatum

Can you elaborate somewhat which actions are slow ? :)

julienw avatar Jan 12 '18 16:01 julienw

updateProfileSelection is really hot when using mouse events, it dispatches an action really quickly, and causes unneeded component and store churn.

gregtatum avatar Jan 12 '18 16:01 gregtatum