Questions tagged as 'react'

0
answers

ScrollView and ScrollTo - React Native

In my project I have a "Comments" button, and when I click it the expectation is that it will do a "Scroll To" until the comments section of the same page. But the file where the button is located is in different path / file where the comment...
asked by 06.05.2018 / 04:19
0
answers

React Native EXPO

How do I use this in my button? Scheme: tel Open phone app, eg: tel: +123456789 link I tried: <TouchableOpacity style={styles.button} onPress = {() => Linking.openURL('tel:95588877')}> <Icon name="phone" size={30} co...
asked by 06.05.2018 / 18:11
0
answers

Chrome does not save password

Environment: React, Bootstrap, Axios Requisition and saving in sessionStorage I'm doing a SPA and saving the password in sessionStorage. In Firefox browser appears to save the password and after saving the same pulls normally. When I...
asked by 24.04.2018 / 20:49
0
answers

ReactJs- Re-call self-invoked function "function ()"

I recently started an App in ReactJs and there are some areas where I still lack some knowledge, so my question may be a bit basic. Analyzing the following code: updateContent(mainUrl){ console.log("updateContent was called") f...
asked by 24.04.2018 / 01:22
0
answers

React + application server + authentication / authorization

From now on I apologize for the long text but I need to detail the problem to make me understand. I'm trying to develop a SPA application using ReactJS trying to use the application server's native security (Wildfly 12, in my case). I read so...
asked by 28.04.2018 / 04:53
3
answers

ESLint caught an error, Parsing error: Unexpected token =

Hello, I installed ESLint to catch the errors and check the code, but it is catching this error on line 28 "updateDay = () = > {" where the problem is in this syntax with the = before the () , but I do not know what the correct syntax would be...
asked by 13.04.2018 / 07:30
0
answers

Can you make an input with mask and validation in React?

I'm using several different components and trying to integrate them. In this example I used react-input-mask and react-material-ui-form-validator, I'm using the inputs of the ui material. Does anyone know how to make these components work on a s...
asked by 12.04.2018 / 17:01
0
answers

How to prevent duplicity of PWA icons in IOS

I developed a PWA (Progressive Web App) application and IOS whenever I add an icon on the device's home screen through safari, it creates a new icon even if there is already another created. On Android this does not happen. Can anyone tell me if...
asked by 11.09.2018 / 16:28
1
answer

incompatibility react-native 0.55.4

react-native init --version 0.55.4 aplicativo I used version 0.55.4 because the current version is giving 500 error npm install firebase --save I used these two commands on the console, and went to the project to put the firebase referenc...
asked by 11.09.2018 / 18:28
0
answers

Passing more than one paramero ordered in the API

Well, I have the following code in React getAllSearch = (token, parameter) => fetch('${api}/api?orderBy=DISCOUNT${parameter}', fetch('${api}/api?orderBy=BIGGER_PRICE${parameter}', fetch('${api}/api?orderBy=LOWER_PRICE${parameter}',...
asked by 10.04.2018 / 21:09