Skip to content

Can some actions run before @@INIT? #73

@chmac

Description

@chmac

Firstly, thanks a lot for this package and the flipper plugin. It's a godsend to be able to see a history of redux actions again since React Native Debugger no longer works with the hermes engeine.

Edit: Please disregard the rest of this message, I think I found the issue just after posting this!

I think I've noticed something weird. I've been working on the startup process in our app. Scheduling stuff to run only after the app has booted, and so on. It seems to me as if some actions are missing from the flipper log. One guess I have is that these actions are dispatched on the store before expo renders the react part of our app. So at the time of these actions executing, maybe react hasn't started.

I know the actions were dispatched, because if I dispatch a random action, the state has changed from the @@INIT action.

Sorry, I realise this is probably pretty hard to follow. I figured I'd ask the question first, and if you have any insights, go from there. Otherwise I could try to produce a minimal reproduction to show what I mean. But I wanted to check first in case this is somehow a known behaviour, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions