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.
Questions tagged [reactxp]
26 questions
1
vote
1 answer
What features does RX.Component class provide over React.Component?
The documentation around Microsoft's recently released ReactXP doesn't have much information about the RX.Component class at the moment.
Here's an example from the documentation:
class HelloWorld extends RX.Component {
render() {
…

hazardous
- 10,627
- 2
- 40
- 52
0
votes
1 answer
Importing JSON file in ReactXP
I have strange problem possibly bug with importing JSON file as object into my application. I do have:
"compilerOptions": {
"resolveJsonModule": true,
"esModuleInterop": true,
}
Looking at the s̶o̶u̶r̶c̶e̶ ̶a̶n̶d̶ source maps JSON is being…

Zydnar
- 1,472
- 18
- 27
0
votes
1 answer
How to set image height & width 100% in reactXP
I have a background image and i want to set the height and width to 100%.
What is the best way to proceed in ReactXP.

Pritam Dehingia
- 21
- 4
0
votes
0 answers
Subscribe to an event emitter that has 2 parameters?
My context is React Native / RxJS / TypeScript
I'm trying to subscribe to an event emitter that has 2 parameters.
The function prototype is like this:
handleUpdateValueForDiskStorage = (error: BleError | null, characteristic: Characteristic | null)…
anon
0
votes
2 answers
ReactXP: "'length' is missing in type" for array of interface
I am using ReactXP (which uses TypeScript) to code a chat client that displays a single panel that contains a stack of messages in the top part and a form at the bottom in which to submit new chat messages. I am trying to break the stack of messages…

Nick Settje
- 3,022
- 1
- 11
- 18
0
votes
1 answer
How to detect screen size change / device rotation in ReactXP?
Is there, say, an event I can hook up to, to detect a screen size change, so that I can make my elements responsively resize themselves?
I'm half-way there, in that I can retrieve the current size of my top-level element, through the UserInterface…

Jonathan
- 32,202
- 38
- 137
- 208
0
votes
1 answer
ReactXP HOC not rendering on state change
I'm trying to write a HOC in typescript to render a spinner while the user have to wait.
I started from this article.
Here is the WithFullScreenSpinnerHOC.ts typescript code I have:
import RX = require('reactxp');
const styles = {
…
anon
0
votes
1 answer
Trouble with a ReactXP higher-order component written in TypeScript
I'm trying to write a ReactXP HOC.
Here is the code (vastly simplified for the sake of the clarity):
interface withAuthState {
//
}
interface withAuthProps {
//
}
const withAuth =
anon
0
votes
1 answer
How to create RadioButton component in ReactXP?
I have no idea how to create the component which is not available in react-xp package? Any clue or idea

user3636197
- 23
- 9
0
votes
1 answer
How to use ReactXP storage api?
I am new in ReactXP and I am trying to create a small app using Microsoft ReactXP framework. I want to save key value pair in my local storage. Microsoft provided an api called…

Rohit Luthra
- 1,256
- 17
- 27
0
votes
2 answers
Cannot find name 'Promise'
I am having issue while running react-xp for web.i get this error message while running "Cannot find name 'Promise'".Thanks in advance
Please check github issue here
react-xp issue

bikram basnet
- 149
- 3
- 8