Questions tagged as 'reactjs'

3
answers

Problem with reacts and setState (asynchronous)

I have a problem with react js and with setState in the documentation it says it is asynchronous. And the problem I have is that I am using a Select and depending on the value that I select, it makes the request with ajax to the database but sin...
asked by 29.12.2016 / 05:48
2
answers

React Native: Unable to download JS bundle

I created the sample application in React Native, following the initial tutorial that the official site has: React Native Android But, when I execute    react-native run-android I find the following error: Anyone who know...
asked by 20.12.2015 / 01:35
1
answer

sort json data in javascript

I want to sort the data of a JSON that I obtain from an API, to group the Post by user, that is, userId = 1 to obtain all its post, the information that it gives me is the publications made by the users with id, title, its body and the userID, I...
asked by 18.08.2018 / 04:58
1
answer

What this error is in ReactJS

This is the code render() { this.customize(); return (<ReactF1 id="ResponsiveHeader" data-f1="header" > <h1>Hola</h1> </ReactF1>); } And this the error:   ...
asked by 09.01.2017 / 17:20
3
answers

Error React and Jest

I'm new to reacting. I have to do component testing and I get this error: FAIL __tests__\test.js (13.787s) ● TPanel › it encountered a declaration exception - TypeError: Cannot read property 'photo' of undefined at TestimonyRow.ren...
asked by 10.09.2016 / 22:26
1
answer

I have doubts with the use of react-router

Good friends, I am using the YouTube app to get the videos, the problem is that I'm using react-router, I have my Show component where I have my tag that is going to call my Reproductive component but there is a problem because my Reproductive c...
asked by 13.08.2016 / 14:53
1
answer

Use property Time highcharts React

I try to see that on October 28, when the time change is made, I am shown on a graph highcharts twice the time 02:00. I've got it working for me with javascript and using the momentjs library: link The problem comes when I try to...
asked by 23.12.2018 / 00:30
1
answer

ReactJS - Hide other Popovers when a Popover opens

I have a component that creates a series of other components that contain information, that information I would like to show in a popover I am using reactstrap to streamline the process, this is the component import React, { Component } fro...
asked by 18.06.2018 / 00:50
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