Questions tagged [react-native-web]

react-native-web is a library aims to make react-native projects able to run in web browser, by providing the same Components and APIs of react-native for web.

534 questions
0
votes
1 answer

how is react-native-web implemented

I am working on having a common code for both web and native environments. I have come across a similar implementation which is react-native-web Why is native component chosen to work on both browser and native environments? Can't we make the web…
Suneel
  • 53
  • 1
  • 6
0
votes
0 answers

React Native WebVIew in Android shows a blank page

I tried to load a HTML page from my local path in Android using React Native's WebView, as follows. var WebViewAndroid = require('react-native-webview-android'); But I am getting a blank page
0
votes
0 answers

Using local test server for React-Native app using a web browser? (npm package React-native-browser)

I'm trying to run a local test server to test adjustments to a view written in html for my app. I'm using the package react-native-browser. The project name is Bowser, just to minimize confusion. Both 'localhost:3000' and 'https://localhost:3000'…
Jon
  • 61
  • 5
0
votes
2 answers

Flexbox where one box has set flexBasis with and the others fill remaining space

Below I have a flexbox row. What I'm trying to achieve is this: I'd like to have a row of 5 boxes and I want to be able to set some of the boxes (not all) specific widths using flexBasis (flex-basis). Below I have set the first box to flexBox:…
ThomasReggi
  • 55,053
  • 85
  • 237
  • 424
-2
votes
1 answer

How to use navigation on react, which will work both web and mobile?

I am not able to load the @react-navigation/web, In React-navigation 5x. It is removed, then how to implement.
-2
votes
1 answer

Unable to test my react program, yarn start and test don't work

So I have JUST started learning React Native to try and learn app development. So I started with a tutorial. Everything was going fine until I tried running the command yarn start in the terminal to start the server and program and I got the…
-2
votes
2 answers

Convert a Object with keys to an array of objects in javascript

I am struck on a problem trying to Convert a Object with keys to an array of objects in javascript What is the best way to convert the input Object to resemble the structure of the desiredOutput array? const routes = { Home: { screen:…
-3
votes
1 answer

Module parse failed in native

I want to see my app on the webpage so what do I do? I followed this link https://github.com/simonqian/react-helloworld But I didn't get an answer? So pls provide some links to solve the issue After I started the npm using npm start I faced this…
Jeyasri .R
  • 55
  • 1
  • 5
1 2 3
35
36