Questions tagged as 'react'

1
answer

React - dynamic child component

Very good to all and I hope you can help me, I have a component called Content which should be able to receive and then show according to the user's action one or another component, my question is, How I do to show a dynamic child component an...
asked by 06.09.2018 / 13:09
2
answers

error: Maximum update depth exceeded

Hi, I am trying to capture a variable in a child component and pass it to the parent component App.js to update the total amount status. This is the error message: "Maximum update depth exceeded. This can happen when a component repeatedly ca...
asked by 24.07.2018 / 01:44
1
answer

Updates the states but the second object always shows it empty

I'm trying to develop a web app using React Js , but I've run into a problem, which I do not understand why it happens. What is enclosed in the red colored rectangle is a component, and what is enclosed with the green color is ano...
asked by 19.04.2018 / 05:50
1
answer

When I pass as parameter 'property' inside the function it shows 'undefined'

I am trying to make a group of text boxes or input , only allow number, but I have run into a problem, and it is that it does not recognize property or popertyName , which does not allow me to know, if I am writing number or l...
asked by 06.04.2018 / 03:27
1
answer

How to integrate Go's famework with ReactJs?

In a project it is already defined that we are going to use Golang for the Backend and its Siris framwork, but for the Frontend it is going to use react. I have not seen that integration before.     
asked by 22.02.2018 / 00:47
1
answer

How does .bind (this) work in Javascript?

I'm working with Javascript, which function has the functionality .bind (this)? It appears within a form import React from 'react'; import { Players } from './../api/players'; export default class AddPlayer extends React.Component {...
asked by 22.07.2017 / 02:30
2
answers

inst.setState.bind is not a function, problems with State in react

I am simply trying to change a state by means of handlers in react but when executing the functions the state does not change. Here I have the functions, the state and the objects where I send the props It should be noted that I use webpac...
asked by 08.06.2017 / 06:33
0
answers

Slow when taking pictures with Expo Camera

I have problems taking pictures with Expo Camera. In ios anda super good, Android takes a long time to take the picture. (5 seconds) Probe passing it as parameter skipProcessing : true but without result. What is the difference in p...
asked by 03.01.2019 / 16:58
2
answers

Send properties and functions from a Component to a Functional Component

I have a small problem when trying to send my props and functions to a functional component, they will see. I want to have the state and functions in a Component and the interface in a Functional Component , my question is How do I send the p...
asked by 30.11.2018 / 02:35
1
answer

Problems in validating routes in react

I'm trying to create a component that serves to validate routes, the purpose is to pass through a property called protect , the component I want to validate and other properties where I want to redirect if it fails. The problem is when...
asked by 28.10.2018 / 04:35