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

Make React re-render less and not so glitchy-like #63

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

anaisbetts
Copy link
Owner

@anaisbetts anaisbetts commented Apr 12, 2017

This PR retools some of our deferred rendering to avoid lock convoy-like behavior - consider the following super-ass common scenario:

  1. We request some data
  2. It gets thrown in the deferred get queue for IndexedDb
  3. Data comes back, we need to render the associated view
  4. We get deferred again, in the deferred forceUpdate queue

Instead, let's just have a unified queue that will keep running if items themselves queue work.

This PR also upgrades code generation to not polyfill the world, which gets rid of all of those manual TypeScript awaiters

TODO:

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.

None yet

1 participant