Is it possible to have "responsive" views on mobile/web app?


First of all, I want to say that I am a newbie to react-native and sorry if this is a dumb question, but I couldn’t find a specific answer on this.

I saw that twitter(.)com website(web app) is built with react-native-for-web (not Expo thought), and I am currently building a social media app for iOS/Android and Web, and would like to know if there is a way and how to reuse most of the code for mobile view to create a slightly different web view on desktop (On Twitter website, mobile browser version is a bit different than desktop version, desktop version has 3 major columns, while mobile view has only one - my goal si to have this effect - see attached pictures.)

Is this possible with React Native and Expo? to build the app for all 3 platforms(iOS, Android and Web(mobile and desktop view)) on the same code base or do I have to re-write for web?

Images for reference

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.