Skip to content

how to get events before subscription? #2

@zephy358

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?

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