Skip to content

should add action.payload.promise ? #55

Open
@luqingxuan

Description

@luqingxuan

i notice that, redux-promise source code:

if(isPromise(action))

if(isPromise(action.payload))

but, i notice redux-promise-middleware add another if

if(isPromise(action.payload.promise))

so i think can redux-promise add it, and then i can use the same logic, when i use both middleware?

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