ReactXP — First Look🔥

Nader Dabit
React Native Training
2 min readApr 8, 2017

--

ReactXP is a new Library by Microsoft for building cross platform apps that run on iOS, Android, Windows, and the web.

To get started now with ReactXP, check out the create-xp-app project generator.

This library looks really promising, and I will quickly demo the library as well as talk about what it offers.

ReactXP is built using React and React Native, and the lifecycle methods remain the same across both platforms. The main difference between React Native is that ReactXP works out of the box with not only iOS and Android, but also on the web and on WindowsOS!

From the docs:

With React and React Native, your web app can share most its logic with your iOS and Android apps, but the view layer needs to be implemented separately for each platform. We have taken this a step further and developed a thin cross-platform layer we call ReactXP. If you write your app to this abstraction, you can share your view definitions, styles and animations across multiple target platforms.

ReactXP main points:

  1. Recommended to build using TypeScript or Flow
  2. Can compile directly to web without another abstraction 🔥🔥🔥

--

--

Nader Dabit
React Native Training

Full Stack Product Engineer, Author, Teacher, Director of Developer Relations at Avara