Questions tagged [reactxp]

ReactXP is a library for building cross-platform apps. It is written as an abstraction over React (web) and React-Native (iOS and Android) with added support for Windows.

26 questions
17
votes
2 answers

error TS2300: Duplicate identifier 'RequestInfo'

I'm working in a ReactXP project where I must use React Native native modules. So I've included the react-native types as a dev dependency. My project does not compile right now with the following…
anon
4
votes
0 answers

Generated React test snapshots don't match on local Mac and CI build server

We are using Storybook along with its StoryShots addon to visualize and test our ReactXP components. Recently, the CI job that runs the tests on those StoryShots started failing with snapshots that don't match. Turns out that when we update the…
Pascal Bourque
  • 5,101
  • 2
  • 28
  • 45
3
votes
0 answers

AAPT2 aapt2-3.4.0 linux Daemon: Daemon startup failed

I am trying to get an react-native app to be build in a docker container. (Based on azul/zulu-openjdk-alpine:8 with openjdk 8) But on building with gradle I get the following errors: FAILURE: Build failed with an exception. * What went…
kitingChris
  • 658
  • 6
  • 15
3
votes
2 answers

react-native vs reactXP

I have started developing an application for all the three platforms (web, ios and android) with single code base. I came across these two libraries and I want to know which one is better and why? Also, I came across a lot of open source…
Nikhil
  • 119
  • 11
2
votes
0 answers

RxJS fromEventPattern with React Native events

I'm trying to filter native events in React Native with RxJS. I'm using react-native-ble-manager which exposes an EventEmitter. Basically, without RxJS I'm doing the following (only the relevant code is shown here): import React from 'react'; import…
anon
2
votes
2 answers

Could not run adb reverse: spawnSync React-Native ENOENT

I am starting to code in ReactXP, and I need to get React-Native to work on Android device, but I am unable to test it, because error occured at the end of command react-native run-android. A also have my phone NExus 5X connected properly and I can…
kvehy
  • 36
  • 1
  • 1
  • 7
2
votes
1 answer

React vs React.js vs ReactXP

Are React, React.js and ReactXP the same thing and if not, how do they differ? I keep reading some articles and I am confused about these.
pixel
  • 9,653
  • 16
  • 82
  • 149
2
votes
1 answer

Is react-navigation is supported in ReactXP?

I just started learning ReactXP and I want to use React-Navigation-https://reactnavigation.org/ in ReactXP. Is React-Navigation is supported in ReactXP? If yes, Then we have any working example? I found one example but its not working.…
Rohit Luthra
  • 1,256
  • 17
  • 27
2
votes
0 answers

React XP - How do I render raw HTML text with custom styling?

In react-native, I could just simply use WebView, how do I do it in ReactXP without using 3rd party library ? Like the one discussed here Render HTML in React Native
Matt Downey
  • 363
  • 6
  • 18
1
vote
0 answers

React Native : how to configure webpack, which loader should I add?

My React Native app contains a Video component from ReactXP library. My app doesn't contain a lot of code, there is only 3 important files -> App.tsx which contains a VideoContainer component (VideoContainer.tsx) and VideoContainer contains a…
erwanlfrt
  • 111
  • 11
1
vote
0 answers

ReactXP VirtualListView not shown on Android

I am trying to include a VirtualListView in my ReactXP app. The web version is working as expected but when running the same app on android the list is not shown. I created a minimal example using this basic steps: Created the app using the…
leiropi
  • 404
  • 1
  • 4
  • 17
1
vote
1 answer

TS2322: Type '{ ready: false; session: null; }' is not assignable to type 'Readonly'

I have the following interface: export interface withAuthState { ready: boolean, session: any } And the following HOC: const withAuth =

( WrappedComponent: new (props: P) => RX.Component

anon
1
vote
1 answer

How to convert current React Native project to ReactXP

We have a developed react native project using JavaScript, now we decided to have it's website too. We found out that Microsoft introduced ReactXP and it is able to release website too. is it possible to convert current react native project to…
Alireza Akbari
  • 2,153
  • 2
  • 28
  • 53
1
vote
2 answers

reactxp .error in opening app in web

I created an react-xp app by create-xp-app MyProject and tried to run in chrome but then please help me solve ths
user8219568
1
vote
1 answer

TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'typeof ... renderIf"' has no compatible call signatures

Its base on https://github.com/react-native-training/reactxp-starter Also I am new to TypeScript! The renderIf is a regular js function, for some reason I got the error with type. I am not really clear where the type should have been to let the…
ey dee ey em
  • 7,991
  • 14
  • 65
  • 121
1
2