r/FlutterDev • • Jan 09 '22

Discussion Can Flutter/Dart replace JavaScript and React? If no, then Why

[removed] — view removed post

43 Upvotes

58 comments sorted by

View all comments

1

u/slavap_ Jan 10 '22

In some scenarios - yes, it could be an alternative to React. E.g. you need a mobile app AND web app. Just using Flutter only for web development is not so good idea. And by the way, let's say you have web app implemented with React - what options do you have to make it mobile app? Migrating to React Native? But React and React Native are quite different frameworks.

1

u/ZeRo2160 Jan 12 '22

You could build your App in React Native and utilize https://github.com/necolas/react-native-web or https://github.com/vincentriemer/react-native-dom

So your app renders in the browser and as mobile app.

But its in roughly the same beta stage as flutter web thought. Had some tests but nothing serious for now. But utilizes the dom fully for seo and such.

1

u/slavap_ Jan 13 '22

SEO is not that important for web apps, and is actually possible with Flutter (with some painful restrictions of course). Developing with Flutter is IMO easier than React Native.