DEV Community

Discussion on: 10 Reasons to Choose Ionic for Mobile Development

Collapse
 
maxlynch profile image
Max Lynch • Edited

React Native is great, but no, React Native is not a web environment, so if you're a web developer you can't just use your existing web dev process, libraries, or really most/any Web APIs without adopting custom or non-portable alternatives just for RN. You also can't use many React libraries because they depend on react-dom or expect a browser environment. This is because the vast majority of React development is happening on the web (see comparison between react-dom and react-native installs: npmcharts.com/compare/react-dom,re...)

Collapse
 
vladi160 profile image
vladi160

ionic.io/resources/articles/ionic-...

The API is the same and you can use many libraries in the same way, because they are with versions for RN. For the example, react-spring.
Also, it is native, but you are using almost the same API and there is React Native for both web/mobile - github.com/necolas/react-native-web - I am not sure about the SEO.

What I am saying is 1-10 is and for React and other alternatives, nothing unique for Ionic, but with React you have many more opportunities.