Questions tagged [react-web]

27 questions
44
votes
12 answers

react long press event

Is there a way to add long press event in react-web application? I have list of addresses. On long press on any address, I want to fire event to delete that address followed by a confirm box.
Binit Ghetiya
  • 1,637
  • 2
  • 19
  • 30
4
votes
1 answer

formik warning, A component is changing an uncontrolled input of type text to be controlled

I am developing dynamic from in React Web, when user click on Add Button Register form is added to screen. In Register form I am using formik integration for validation. Form is dynamically adding successfully but when ever I started putting any…
ppb
  • 1,097
  • 1
  • 19
  • 48
1
vote
2 answers

How to link two separate pages in React?

I have two pages Sign Up and Sign In within a folder named components and I am trying to link sign up page with sign in page using . But it's giving some error. components/ SignUp.js
Already have an…
1
vote
2 answers

Can I host my React Native app to my website using cpanel?

I'm currently developing a website using React Native, when I read about React Native I got the info that React Native can be used as both a web application and a mobile application, so I tried it. Currently, my website is finished and can be run on…
1
vote
0 answers

Cannot find module 'webpack-cli/bin/config-yargs'

So I'm following this react-native tutorial to try and learn how to make apps for Android and iOS: https://www.youtube.com/watch?time_continue=469&v=_CBYbEGvxYY I started it a while ago and didn't have any issues but I had to get a computer repair…
ShLuBsTeR
  • 49
  • 8
1
vote
1 answer

user management with Firebase and React

I was wondering if this is possible using Firebase and React. I want to create a admin panel where the admins can add new user and assign roles. The moderators should also be able to login and make a new post (the new post part i have figured…
crushen
  • 43
  • 5
1
vote
1 answer

Error: Network Error with React Native, request .net core web api

(AXIOS GET) I am requesting .net core web api 2.1 with react native, but the error I get on the console as follows: Note: Cors was granted permissions by .net core 2.1. Code: return axios.get('http://127.0.0.1:50000/api/values', { credentials:…
1
vote
0 answers

Babel Transform React.Web allow decorator plugin

I am using the React.Web (for asp.net webforms https://reactjs.net/guides/weboptimizer.html) to transpile my JSX files. I am trying to use Mobx as my store for React. Unfortunately I am getting this error: React.Exceptions.BabelException: Error:…
yveslebeau
  • 84
  • 2
  • 10
1
vote
0 answers

TypeError: _babelCore.OptionManager is not a function

I installing all node modules for React native. When i going to build iOS project i got error on terminal ~/WebWork/Project/Project/node_modules/react-native/packager ~ /Users/User/WebWork/Project/Project/node_modules/babel-register/lib/node.js:112 …
Tirth
  • 7,665
  • 9
  • 52
  • 86
1
vote
0 answers

Module parse failed

I'm going to port GiftedMessanger on web. I'm stuck on an error in Webpack bundle: Krishti:react-native-web-exploding-hearts-master MacBook$ npm run web-bundle > react-native-web-exploding-hearts@0.0.1 web-bundle…
Tirth
  • 7,665
  • 9
  • 52
  • 86
0
votes
0 answers

Integrate react-native (web) into Django. How to add a prefix to all urls?

I'm using react-navigation and trying to figure out how to add a prefix to all endpoints. Follows my LinkingConfiguration which doesn't do what I want: // const prefixes = [Linking.makeUrl('/app')]; const prefixes = ['example://app/',…
gmagno
  • 1,197
  • 12
  • 28
0
votes
1 answer

How to add inline script in react js?

I am converting my HTML site to react and beneath the body tag, I have this script that toggles my mobile nav