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

Asnyc outside of the model hook #122

Closed
4 tasks
danmcclain opened this issue Feb 24, 2016 · 3 comments
Closed
4 tasks

Asnyc outside of the model hook #122

danmcclain opened this issue Feb 24, 2016 · 3 comments

Comments

@danmcclain
Copy link
Member

Per the discussion on the FastBoot hangout today, adding an issue to track:

  • Design API for deferring FastBoot flush to the server (via pushing promises to the service, or something else)
    • Take into account that you should probably wait for the next render after the asynchrony

Things to consider:

  • Approach for blocking page render
  • Ember-data async relationships
@danmcclain
Copy link
Member Author

/cc @tomdale @ef4

@tomdale
Copy link
Contributor

tomdale commented Feb 24, 2016

I think the endgame here is something we've been referring to in core team discussions as async components, which are related to routable components. That feature needs careful design, though, so I'm wondering if there's a small, scoped addition to FastBoot we could offer that serves purely as a signal to FastBoot to defer rendering.

@danmcclain
Copy link
Member Author

This is done with deferRendering

xg-wang pushed a commit to xg-wang/ember-cli-fastboot that referenced this issue Nov 16, 2020
xg-wang pushed a commit to xg-wang/ember-cli-fastboot that referenced this issue Nov 16, 2020
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

No branches or pull requests

2 participants