Skip to content
This repository was archived by the owner on May 20, 2021. It is now read-only.
This repository was archived by the owner on May 20, 2021. It is now read-only.

navigate params are not updating navigation.state.params #30

Open

Description

@sirpy

When doing
navigation.navigate(route, params)
The params are not reflected in the navigation.state.params

If you go to a url with parameter such as
myapp/Home?x=1 then x=1 is added to navigation.state.params
Then doing navigation.navigate('Home',{x:undefined}) will change the route to /Home
but the navigation.state doesnt change

then doing another navigation.navigate(anyroute) causes the location to change to /anyroute?x=1 (every history change the params are read from the state)

Activity

  1. sirpy commented on Mar 23, 2020

    @sirpy
    Author

    this is still happening

  2. sirpy commented on Mar 23, 2020

    @sirpy
    Author
  3. sirpy commented on Apr 21, 2020

    @sirpy
    Author

    anyone?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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