kadirahq/fast-render

undefined Meteor.user() when no connection established

VitalyChe opened this issue · 1 comments

It seems the FastRender injects the DDP messages correctly (when no connection yet) but the messages (came with html especially user data) never get processed and saved into collections due to Accounts _autoLoginEnabled=true. Enabled autoLogin is the first to send message (login) to the live data connection (token is taken from local storage)
After that every message is buffered (that the FastRender injects) but is not processed due to _waitingForQuiescence (the first login message is there) until the connection is established

It happens when there is some delay before connection is established

Any ideas would be highly appreciated?