What's the difference between React Native and ReactXP

ReactXP is pretty new, nothing special about it.

AFAIK

  • Both ReactXP and React Native can build native mobile apps (iOS, Android).

  • ReactXP is something built on top of ReactJS / React Native.

  • It looks like the goal of React Native and ReactXP is the same - building cross platform mobile apps.

Is ReactXP just more Microsoft friendly?

+3


source to share


2 answers


The React authors use the phrase "learn once, write anywhere".

With React and React Native, your web app can share its logic with iOS and Android apps

Problem: The presentation layer must be implemented separately for each platform.



ReactXP (Solution): A thin cross-platform layer that can share your definitions, styles, and view animations across multiple target platforms.

Additional Notes: In general, it provides APIs, components, props, styles, and animation parameters that are consistently implemented in React JS (HTML) and React Native for iOS and Android. Several platform-specific props and style attributes were found, but we tried to keep them to a minimum.

Source / Link: https://microsoft.github.io/reactxp/

+3


source


ReactXP

is created using React

and React Native

, and the lifecycle methods remain the same across both platforms. The main difference between React Native

is what ReactXP

works out of the box with not only iOS

and Android

, but also on web

and on WindowsOS

!



+1


source







All Articles