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

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

Open
sirpy opened this issue May 16, 2019 · 3 comments
Open

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

sirpy opened this issue May 16, 2019 · 3 comments

Comments

@sirpy
Copy link

sirpy commented May 16, 2019

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)

@sirpy
Copy link
Author

sirpy commented Mar 23, 2020

this is still happening

@sirpy
Copy link
Author

sirpy commented Mar 23, 2020

@509dave16

@sirpy
Copy link
Author

sirpy commented Apr 21, 2020

anyone?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant