Skip to content

Internal props being shoved in on Store change in Wally version #62

@binarydoubling

Description

@binarydoubling

I was integrating multiplayer in my game and I came across this little bug:

Huh, that's funny. I was using an earlier version of RoactRodux and it was fine before switching to the Wally version...

If I print the props before a mapStateToProps call (line 97), like so, and add a print in my mapStateToProps:

I get this output:

After doing a little digging, it turns out that whenever the store updates, it shoves the Connection's raw props into mapStateToProps, instead of the Connection's innerProps.

If I pass in the innerProps like so:

It works like a charm:

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