Questions tagged as 'react'

0
answers

Reading values from a bluetooth in a react application

I have an application in React and I have a bluetooth connected to an arduino. When I send a value to bluetooth, I'd like to read it in my React application, but I'm not finding how I can do it.     
asked by 02.07.2017 / 22:21
1
answer

React-native error: does not communicate with AVD or devices

I came across the following error: my app was unable to communicate with the AVD android nor with my Device. Both are connected and working ...     
asked by 04.05.2017 / 18:01
0
answers

Problem with input and autofocus

I'm having a problem with inputs ... I have two inputs: the first has autofocus and the other does not. However, whenever I type in the second input, it loses focus and focus returns to the first input. I read that React will render the compo...
asked by 20.04.2017 / 00:21
1
answer

How to update properties in React setState

I'm trying to add objects to the 2 property of the FecthApis component. I make the call to the two Api's, and receive the requisition with the expected objects. However, when I try to include these objects in both properties with "setState", I g...
asked by 17.05.2017 / 21:01
1
answer

Error installing React Native

I'm trying to set up the react native environment on my computer. Get install choco package manager. But when I try to install python2 with the command: choco install python2 this error message appears: I'm using windows 10 64 wi...
asked by 11.04.2017 / 15:52
1
answer

The action receives an attribute of the class component but does not enter the reducer react-redux

I'm doing a simple project with React and Redux to train and I get an attribute (string) that is in the store through a function of the component I make a processing in that string and I command for action that it should send to reducer and save...
asked by 28.04.2017 / 04:56
1
answer

I'm having trouble with webpack 404 "can not get". What can it be?

Here my config: var path = require('path'); const webpack = require('webpack'); const publicPath = '/dist/assets/'; module.exports = { entry: './src/index.js', devtool: 'cheap-module-source-map', plugins: [ new webpack.HotModu...
asked by 27.07.2017 / 15:16
0
answers

subscriberView Too slow or stuck react-native-opentok

I'm using the react-native-opentok from callstakio, when I use only Subscriber it works normal, but when used subscriber + publisher the subscriber does not work correctly. render() { return ( <View> <Subscrib...
asked by 17.02.2017 / 15:51
0
answers

Redux-thunk - dispatch is not a function

Hello, I'm having problems with redux-thunk . The console shows me the error saying that dispatch is not defined within my action, I tried to give console.log of the arguments I get in the function and I'm not getting anythin...
asked by 23.01.2017 / 13:42
1
answer

React-router not rendering pages not found correctly

I'm developing an application using React + React-router + Express to render on the server and inject into an EJS view. It is working correctly, but I noticed that by not finding a route like /naoexiste the request falls correctly on t...
asked by 02.12.2016 / 18:05