React Native Web example: https://github.com/zeit/next.js/tree/master/examples/with-react-native-web
It's like there's no way to use react-navigation on your Next.js application with react-native-web. It would be great if it will become possible in the near future for those developers who are willing to use Next.js with react-native-web. And to have a guide for that, would be too great!
As I now I couldn't find any solution for Next.js with react-navigation thing. It seems Next.js and react-native-web are not really compatible because you can't use react-navigation on it or you'll encounter how to make _"/pages"_ and _"/screens"_ work together, which seems impossible.
_If there's already a solution for this, just let me know.._
Hi thanks for creating an issue however you didn't follow the issue template. The issue template clearly say questions should be posted on https://spectrum.chat/next-js.
Check out expo-next-react-navigation. It handles this use case for you.
What if someone doesn't use Expo? Is it possible to use react-navigation with Next?
I managed to run react-navigation in the scope of the Next project but I don't know how to connect it with the Next.js routing system to save SSR, etc.
expo-next-react-navigation isn't actually specific to expo, I just made it with the expo + next.js integration in mind. It should work in any RN project with react navigation + next.js routing. You can see the example app in the repo!
Most helpful comment
Check out
expo-next-react-navigation. It handles this use case for you.