Questions tagged as 'react-native'

1
answer

Why use StyleSheet.create?

Why use StyleSheet.create ? When starting a new project ( react-native init test , the project comes with style as follows. const styles = StyleSheet.create({ container: { }, welcome: { fontSize: 20, textAlign...
asked by 16.02.2018 / 15:30
1
answer

Execute function managed by Redux

My app React Native is managed by Redux . I need to run the _verificaLogin() function automatically by connect when my app is rendering. The way I did it is not working, I think props has not received the functi...
asked by 13.02.2018 / 19:26
1
answer

Backend with mysql database and frontend in javascript (react-native)

I'm developing an application in javascript (for android) and I would like to use mysql as the database for this application, but I was not able to use mysql in the same code so I did some searches that indicated separating by backend and fronte...
asked by 07.02.2018 / 11:31
2
answers

React Native - Pass data to another component

I'm having a question, I'm starting with react native and I'm building an app that contains some components and uses react-navigation. The question is: From this component that renders several items, when I click I want to receive this data i...
asked by 05.02.2018 / 22:28
1
answer

How does the React-Native cache work?

This is the following, I created a system that uses some Image components and loads the images from the internet. I just want the images to appear even when the system is offline. I noticed that there is a cache of images when I acc...
asked by 17.01.2018 / 18:51
1
answer

How to know if constant has a value?

I have the code: import React, { Component } from 'react'; import { ScrollView } from 'react-native'; import { Tile, List, ListItem } from 'react-native-elements'; class UserDetail extends Component { constructor(props){ super(props); thi...
asked by 09.01.2018 / 13:19
1
answer

YogaNode Error

Constantly, I'm having the error:    Can not add a child that does not have a YogaNode to a parent without a measure function! (Trying to add a 'ReactRawTextShadowNode' to a 'LayoutShadowNode') I did not understand the logic of the error,...
asked by 09.01.2018 / 15:01
1
answer

React Native build of the app

When creating a react native project and try to execute it with the * react-native run-android * command this error appears, it does not matter if it is direct on the physical device or the AVD. I have already created several projects and the...
asked by 02.01.2018 / 15:18
1
answer

Failed adb using react-native in ubuntu

I have a problem running a react-native app on my phone. With everything configured I run react-native start react-native run-android and the following error appears:    05:32:56 E / adb: adb server version (32) does not match this cl...
asked by 06.12.2017 / 20:37
1
answer

Compile app for ios done in react in windows environment

I'm studying react native and need to compile an app for android and ios. I would like to know if I can develop everything in the windows environment and then just copy the files to a virtual machine running OS X to compile and publish the app...
asked by 07.12.2017 / 20:37