Posts by Vitor Hugo Águila • 29 points
4 posts
-
0
votes1
answer93
viewsA: Attribute json Undefined
The aplic[0].APLICACOES contains an array. Therefore it would be necessary to use a map function to display the elements. Something like this: Object.keys(aplic[0].APLICACOES).map((key) =>…
react-nativeanswered Vitor Hugo Águila 29 -
1
votes2
answers413
viewsA: How to detect the hardwareBackPress event with React Native when you have an open Modal
In your Main Screen file (Lanlistscreen) You could try some of that in componentWillMount componentWillMount = () => { if(this.props.AddLanIsOpen){ // AQUI ELE ENTRARIA NESSA LOGICA QUANDO O…
react-nativeanswered Vitor Hugo Águila 29 -
-1
votes1
answer1085
viewsA: Problem calling api in React JS
This is a very common problem with Apis. Usually this problem is related to CORS, is a problem in the backend. Postman, Insomnia and other API testing software end up working but when you consume…
-
1
votes2
answers434
viewsA: Javascript - React JS
You could already use asyncrons calls for your application using async/await and also a Try/catch to handle Success and call error. example: constructor(props) { super(props); this.state = { data:…