Skip to content

How to handle silent error in dispatch? #1060

Closed
@feifanzhou

Description

@feifanzhou

Currently, dispatch may suppress silent errors that break the program. I had this happen here:
https://github.com/rackt/redux/blob/bb9fa19cf2a22d0149dcf134e36404a02d93b2b3/src/createStore.js#L126

Modifying to the following surfaces the issue.
screen shot 2015-11-20 at 12 09 47

I can submit a PR, but what's the recommended way to handle?

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