Skip to content

how to get events before subscription? #2

Description

@zephy358

Hi, I really like the idea of this project and plan to use it in a small project. But how to handle the following scenario:

The app fetches user info on app starts. There's some component relies on the user info to render. But this component mounts after the fetch user info event fires. So far as I tried, I found the component only subscribes to future events but not the past.

Is there any way to solve this problem other than storing user info to some global store?

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions