Difference between React-native and Electron

Electron include chrome engine to render web pages as Native apps with support for different plugins to add desktop apps features.

Electrino doesn’t include any render engine it uses the Safari engine on the Mac so the installation file is smaller than Electron.
There’s no support for Windows yet.

React Native is using a cross-platform render to Android and iOS.

Example: <Text> on Android will be TextView and on iOS will be UITextField

React Native Web made React Native work on web

Example: <Text> on web will be <p> or <label> not sure
and after that, it can work on the desktop by electron

You can build universal apps by using this template by React Native code.

Also if you want a specific target you can add component.web.js or .electron.js
or .android.js or .ios.js so it will render to this target only

https://github.com/react-everywhere/re-start/tree/react-16

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)