Skip to content

Handle user being undefined at a global level.  #273

Description

@ultraviolet10

For components in the iframe that need the logged-in user's details, we always need to check whether user is defined or not:

if (!user) {
  // handle it in some manner
}

Ideally we want to define a global invariant which ensures user is defined or no dependent component is mounted until so.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions