react-navigation / web

Tools for react-navigation on web browsers and servers
https://reactnavigation.org
MIT License
94 stars 28 forks source link

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

Open sirpy opened 5 years ago

sirpy commented 5 years ago

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 commented 4 years ago

this is still happening

sirpy commented 4 years ago

@509dave16

sirpy commented 4 years ago

anyone?