How can the delay before displaying meteor collections be best addressed?

笑着哭i 提交于 2019-12-06 01:26:59
Tom Coleman

If you examine the xhr of the madewith app, you'll see that all (87 at this moment) apps load in the same request. So I don't think 'incrementally' displaying data is going to help in this case.

The issue is just that meteor apps take a while to initialise. I'm not sure if this can be improved in the future, but for now, yes, I think displaying a spinner is the best solution.

Regarding how to know when the data is ready, you can use the onReady callback on a collection, or see this PR for a better solution coming soon.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!