Hello,
I am iOS developer and I want to start a new project. This time I want to do a multiplatform app and I am investigating Flutter. I would like to have also a web and I am not sure if Flutter is the way to go.
I was also reading about React Native, but I am not sure what will fit better my specifications.
Any of you have experience in Flutter or React Native reusing the code to generate a web? Any advice is welcome!
Many companies use React Native and React Native Web with actual production components. Including Twitter, MLB etc.
React Native Web itself is used on the React Native website for the documentation. They are pretty closely affiliated and I think that between necolas (the owner of RNW) and the FB team they have a good working process to keep stuff going between them.
I've used RNW to translate our RN library at work into stuff to use on the web, it works pretty nicely. To be sure there are some areas that are more complicated; but you can often alias in a different web library (with the same api) to replace something that's done on the native side.
Thanks! Very useful!
I am in the exact same situation and I’m leaning towards react native since the job market seems to be bigger. Nevertheless, I’d like to see flutter win this “battle” at least on the mobile side since it’s google that controls android similarly to iOS and swift. Moreover I wonder wether there could be some sort of framework to do cross mobile platform and/or web using swift UI?
A followup question to yours would be where to start? Any recommendations?
I would suggest React Native - you’ll be able to easily port it over to a web app with only minor changes to the components.
Thanks for answer @kylegawley!
Is there any official support to do this? Flutter has at the moment in beta the web support:
https://flutter.dev/web
Like many things in React world there is not an „official“ solution. But there is a good and used one called React Native Web.
You could also check out https://expo.io/ which uses React Native Web for Web support.
+1 for Expo. It abstracts much of the complexity of building apps so you never have to run xCode - literally build in RN, run a command and upload to the app stores.
@carlostenor there's no support for RN but Expo do offer free and premium support, although premium is pricey at $800/mo. I've never needed it as Expo is super-easy to use.
You could also try a premium boilerplate that does the heavy lifting for you, there are lots of them out there (plug: one of them is mine: https://usegravity.app/native) and these do include support.
Thanks!
Thanks for the expo tip! :)
This comment was deleted 6 years ago