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

Collections take 2 frames to render #2

Open
stephband opened this issue Feb 1, 2016 · 0 comments
Open

Collections take 2 frames to render #2

stephband opened this issue Feb 1, 2016 · 0 comments
Labels

Comments

@stephband
Copy link
Member

Because sparky.create() children render on the next frame, and calls to that inside 'each' are also queued to the next frame, that's two frames to render a collection.

Either:

  • Make each render without delay, on every collection change (bad)
  • Make new Sparkies render immediately, which involves moving the throttle out of .parse and into Sparky() constructor (probably quite a good idea)
  • Make new child sparkies render immediately, same as above but with conditional render (probably unecessarily complicated)
@stephband stephband added the bug label Feb 1, 2016
stephband added a commit that referenced this issue Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant