Skip to content

calling same route with different data #207

Closed
@kadosh1000

Description

@kadosh1000

My side menu is calling the same action each time with different data inside,
the first time works great and after that it stops calling the route, and therefore the route wont reload with the new data.

How can I make it work?

Edit 1:

After few more tests, it seems that after the route was loaded once it won't reload again, event after moving to a different route and trying to go back to the first one

Edit 2:

trying to debug using the componentWillReceiveProps method, it seems that the component not getting the new data, it stays with the old data

Edit 3:

after debugging Actions.render it seems to be connected to the fact I've chose schema type "switch", probably connected to the onJump handler. changing to any other schema type fixed the issue

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