react-native-web Questions

1

I'm trying to run my expo react native app in web, but i'm getting this error: Unable to resolve module ../Utilities/Platform from C:app\frontend\frontend\node_modules\react-native\Libraries\ReactN...
Potemkin asked 17/11, 2023 at 12:47

3

Solved

I'm working on Next.js and React-Native-Web. I managed to run them together following the official Next.js example but when I'm trying to use the Animated package from the react-native it fails wit...

1

Solved

I am building a hybrid app with React Native Expo. My struggle is that my app needs a map and needs to be functional on mobile and web. To have a map with React Native I found several libraries, bu...

3

Solved

In the last versions of Expo there is a Web support. In the picture you see a normal TextInput created with React Native & rendered in the Web. How can I change the color of the TextInput Bord...
Weatherboard asked 15/6, 2020 at 14:33

5

Solved

I've setup monorepo project with react-native and react-native-web. I am sharing the same codebase for Android, iOS and Web. after installed react-native-vector-icons I've run the code in all three...

4

I was hoping to use https://github.com/xgfe/react-native-datepicker with react-native-web but it's not compatible I think. Is there other library that offers native datepicker look as in the image...
Ehrsam asked 12/12, 2018 at 15:18

4

Solved

I have a Dropdown component which is just a React Native Modal positioned next to a toggle - the Modal allows me to make the whole background a Pressable so I can close the dropdown when any area o...
Ricercar asked 27/4, 2022 at 21:49

2

Solved

I'm trying to use the postmessage to a page opened in a webview inside a React Native App. I tried many times, but still wasn't able to send it. I can listen to messages from the webpage normally. ...

1

I am trying to find how react-native-web apps (specifically using Expo and vscode) can be debugged. I found guidance neither in the web, nor in the react-native-web's own site. The debug configurat...

3

I have an Image component which I am using to load an image into a header for my application. I can create a border for where the image is supposed to be but am unable to get the image to properly ...
Stalky asked 13/11, 2020 at 21:45

3

Solved

in react-native, I have: Warning: Failed prop type: Invalid prop `value` of type `number` supplied to `TextInput`, expected `string`. I have a postalCode and it is numeric value. I have set th...
Motch asked 13/4, 2020 at 16:14

3

Solved

My web application is created by React Native Web with react-navigator. react-navigator sets RouteName as document.title in default. ex. <Stack.Navigator screenOptions={{ headerShown: false }}&g...
Koine asked 4/1, 2021 at 22:41

3

Solved

I'm working with the React Native Web and React Native Paper library with Styled Components. Basically I would like to customize the TextInput inner components: Label and html input The questions ...

3

Solved

Adding react-native-web package to existing RN app (made with react-native init). Following the setup from this site: https://arry.medium.com/how-to-add-react-native-web-to-an-existing-react-native...
Subtraction asked 29/3, 2022 at 19:53

1

I have just updated to the latest expo sdk 33, So I can use the expo web capabilities. The project appears to be working and I can navigate onto different screens but I can scroll on any of the scr...
Corium asked 14/6, 2019 at 11:41

3

Solved

I have a react native web project. At one point, I would like my View instead of generating a <div> to generate a <label> element. Is there a way to control this? I am hoping for some ...
Metagenesis asked 13/2, 2020 at 23:3

3

Solved

We are building an app that’s using react native but we are not releasing a native version for the first release. We are still using web (using react-native-web for this). However, I am stuck wit...
Erleena asked 27/12, 2019 at 3:42

0

I am trying to use React-Native web to convert an existing React Native App to Web App. The App is getting compiled successfully now, but the page appears blank and I get the following error on che...
Monopetalous asked 12/8, 2021 at 8:12

2

I'm Converting my expo app to react-native-web, I have an issue when I'm showing Image. by default react-native-web adding a class to Image with position:absolute. I want to override that class, he...
Mapp asked 16/5, 2020 at 9:7

2

Solved

I have a React Native app. I am storing username and uid in AsyncStorage so they don't have to log in every time. How do I populate the initialState with these values. There are some packages that ...
Paedo asked 31/10, 2018 at 0:45

4

Solved

I am adapting a ReactNative mobile app to ReactNative Web. The app is done with react-navigation. Currently, every time I set the params of a route (either through navigate or setParams), those par...
Miller asked 28/10, 2020 at 9:37

2

If you want to share code between RN and RN-web, __DEV__ should also be provided in the both platform. However I can't add DEV using const __DEV__ = process.env.NODE_ENV !== 'production'; new webp...
Luanaluanda asked 9/4, 2020 at 7:4

8

Solved

I am using react native web library but I can't make full height on web Code: import React from 'react'; import {StyleSheet, View, Text, TouchableOpacity} from 'react-native'; class index extend...
Hawsepipe asked 26/12, 2017 at 9:21

1

Many people seem to have experienced a version of this issue but none of the prior solutions seem to be working for me. My app is built with CRA and React Native Web. I am testing the click behavio...

6

I am using this https://reactnavigation.org/docs/en/navigating-without-navigation-prop.html to access my navigation from any source, my file look as follow: import { createRef } from 'react'; exp...
Nobel asked 6/2, 2020 at 12:43

© 2022 - 2025 — McMap. All rights reserved.