Home >Web Front-end >Front-end Q&A >What is the difference between react and flutter

What is the difference between react and flutter

WBOY
WBOYOriginal
2022-01-10 10:01:334047browse

The difference between react and flutter: 1. React is a real-time interpretation of JavaScript to trigger the rendering of native components, while flutter is directly compiled by Dart to execute the drawing interface; 2. React is written in JavaScript, while flutter is written by Dart write.

What is the difference between react and flutter

#The operating environment of this tutorial: Windows 10 system, react18 version, Dell G3 computer.

What is the difference between react and flutter

flutter is mainly an app development solution for native-level experience, but its ambitions don’t stop there. , Flutter currently has a web platform, and will also have a desktop platform in the future (currently a beta version). Flutter uses one set of languages ​​to be compatible with all platforms. This is indeed a very good solution that allows projects to focus on product design. R&D costs are lower and more efficient, and the team can be smaller.

Both vue and react are leaders in the h5 world, both are js frameworks. As you can see on github today, when js is domineering, it is inevitable that popular js libraries will become popular, and react will also have apps. The development version of react-native has the same syntax, but it is not one set of code that runs on all platforms, but one writing method that runs on all platforms. Therefore, it is different from h5 and app, which have two sets of codes, but the syntax is the same.

Both react-native and flutter can develop apps, but the former uses js real-time interpretation to trigger the rendering of native components, while the latter uses dart to directly compile and execute the drawing interface (native components are not used at all, he can draw them himself) It is equivalent to the screen being just its drawing board). Needless to say, the comparison between js performance and compiled language performance, so flutter is currently the best solution for cross-platform experience.

Same points

Flutter, VUE, and React are all libraries derived from programming languages, which can help developers work more efficiently.

Differences:

Flutter is written by Dart, while vue and react are written by JavaScript. Their underlying working methods during parsing and compilation are different.

Recommended learning: "react video tutorial"

The above is the detailed content of What is the difference between react and flutter. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn