NextJS with Server Components & React Native
If I want to make an app that has both a web version in next js as well as a mobile version in react native, will that be an issue if I wanna use server components for the web version? Since I wouldn’t need api endpoints to fetch data for my server components, but my mobile frontend would still need them. I could make api endpoints to get data in next and only use the for the mobile app but that feels inelegant. Is there a good solution to this?
0 Replies