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

Show parent comments

1

u/cesarfrick Jan 10 '22

Well, React does run natively on the web. JSX is just sugar syntax, and it's transpiled to plain Javascript in the building process, so I wouldn't say that's a disadvantage of React. The transpiled code won't include any JSX on it

1

u/Only-Split82 Jan 10 '22

I never said that! I just said that "Flutter needs to be compiled" is not a disadvantage when comparing it to React as it needs to be compiled ( or rather transpiled ) as well.