Questions tagged as 'react'

0
answers

adb not found when executing AwesomeProject React Native

I'm starting with react, just installing and executing the project that comes in the example of the official website, but when running the app, it indicates that it does not recognize the adb: Now check the system path, ANDROID_HOME, et...
asked by 15.08.2018 / 00:11
1
answer

PASS DATA FROM ONE WINDOW TO ANOTHER IN REACT

My question is how can I pass data from one window to another if I bring the data through a JSON? The goal is that when I click on it send me X data to another window per response I show the code import React, { Component } from 'reac...
asked by 03.08.2018 / 19:58
2
answers

Problem with react-pdf when trying to run the project leaves Failed to load PDF file

I have tried to run the following code but I have not managed to read the PDF with the Reaction CLI, I hope you can help me, I leave the information: import React, { Component } from 'react'; import { Document, Page } from 'react-pdf'; // impo...
asked by 02.10.2018 / 07:00
1
answer

Error: the react package can not be installed in a project called react

I am configuring react, webpack, and babel, but when installing react with the following command: npm i react react-dom --save-dev I get the following error: npm ERR! code ENOSELF npm ERR! Refusing to install package with name "react" und...
asked by 07.06.2018 / 02:02
0
answers

How to use variables with Apollo Graphql

I am using React, GraphQL, Apollo, MongoDB ... I have a list of clients on the screen and I have a search button that when clicking on it goes to a handleSubmit: handleSubmit = (ev, args)=>{ const response = this.props.allClientes({opt...
asked by 28.05.2018 / 18:33
0
answers

Action in Redux to pass a URL with the Weather

I have a function in the actions of Redux which obtains a json with the data of an API of the Climate, my problem is how I can connect my component correctly with Redux and in what way I can pass the parameters of the ciudad and the...
asked by 03.05.2018 / 19:54
0
answers

Component sensitive to changes in the backend

In the UI of my app there are 2 lists and a form. A list is a team with no points awarded and the other list is the scores of teams already loaded. Each list is filled with information from their respective methods of my own Rest API. T...
asked by 02.01.2018 / 04:26
0
answers

undefined when reading the variable of an input in reacstrap

I'm trying to access the variable of input called name but it throws undefined . How can I access the data of input of reactstrap? Any ideas? This is my code: handleSubmit(e){ e.preventDefault(); console.log(this.nam...
asked by 19.11.2017 / 16:25
0
answers

How do I manage SSL certificates in React Native?

I'm making an http request with pinch from the react-native-pinch library, it works with almost all those that have a valid certificate, except one (the one that is specified), I try to omit the certificate and neither the code: pinch.fet...
asked by 22.03.2018 / 21:45
0
answers

Containers in StackNavigator

A few weeks ago I come with the following question: When creating a Container (using the connect in a component of view to which you want to put a logic using redux) for example a HeaderContainer that has a button that calls a dispatch to do...
asked by 26.09.2017 / 17:43