nandorojo / expo-next-react-navigation

⛴ Make Next.js and react-navigation play nicely together with an Expo/React Native Web app.
406 stars 32 forks source link

Reload nested route on web #64

Closed GaspardC closed 3 years ago

GaspardC commented 3 years ago

Hi, first thanks for your work on expo & rn ! :)

I created a starter repo thanks to expo-next-react-navigation : https://github.com/GaspardC/starter-expo-nextjs-react-navigation and it's working well.

I only have a problem when I reload a nested page inside a bottom navigator. Do you know how to keep the bottom tab when the page is reloaded ?

thanks

Capture d’écran 2021-06-10 à 09 42 39 Capture d’écran 2021-06-10 à 09 42 49
nandorojo commented 3 years ago

Bottom navigators would only work on native. Web uses exclusively next router. With RN v6, you'll be able to use the bottom tabs UI though

GaspardC commented 3 years ago

ok thanks good to know.

I was searching for a workaround, maybe something like reloading the navigator on a nested root.