Meteor user logged in before DDP login?

So, I’m doing some logging in my RootComponent:

import { Meteor } from "meteor/meteor"
export default class RootComponent extends Component {
    console.log('hello', Meteor.userId())

Isn’t this a bit jank according to the DDP protocol? There’s a ‘flicker’ period in typical initial loads for Meteor apps, where the user is in a loggingIn state. Why would the user be logged in prior to the login method call?

Did MDG pull a fast-render on me? :clap::sweat_smile::unamused:

1 Like