React Navigation's web support currently requires using React Native for Web. This approach lets us reuse the same code on both React Native and Web.