Skip to content

Conversation

OEvgeny
Copy link
Contributor

@OEvgeny OEvgeny commented Aug 31, 2016

I think we should stop updates after animation end. It will prevent forced reflows. See timeline capture for additional info:
image

@OEvgeny OEvgeny changed the base branch from master to dev August 31, 2016 18:27
@OEvgeny OEvgeny force-pushed the fix-updates branch 2 times, most recently from 6905394 to 9262408 Compare August 31, 2016 18:40
@coderitual
Copy link
Owner

Definitely we should do that. Only one thing I didn't quite like it, is calling function before its declaration. Even though I can put it into different shape later. Thanks for catch this as performance is really important to me.

@coderitual coderitual merged commit 951cfc0 into coderitual:dev Aug 31, 2016
@OEvgeny OEvgeny deleted the fix-updates branch September 1, 2016 11:07
@OEvgeny
Copy link
Contributor Author

OEvgeny commented Sep 1, 2016

@coderitual Agree. Can't to figure out how to do it better.

Thanks for sharing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants