Questions tagged as 'reactjs'

0
answers

RaisedButton Material UI problem disabled

I have a RaisedButton of material UI, I add the property disabled: true, it shows it blocked but at the moment of pressing it also executes the action, to what can this be done?     
asked by 06.06.2018 / 22:17
1
answer

Prevent the state information from being erased - ReactJS

Hi, I'm new to reactJS. I create this component where I receive information from a REST API import React, { Component } from 'react'; import '../Assets/css/grayscale.css'; import { Link } from 'react-router-dom'; class Ligues extends Compon...
asked by 17.06.2018 / 11:10
0
answers

Problems capturing events from a list in react.js

Hello, I'm trying to capture on the onClick the object that maps to me from the array of objects but I can not find the way to handle the events the object never returns to me. I put two console.log () to see what I'm getting, the one inside the...
asked by 25.05.2018 / 23:00
1
answer

How can I get the content of the item from a list in react?

Hi, I'm trying to capture the contents of a list with an onClick in react.js and I do not get good results and I would like someone to help me by explaining why I do not recognize the onClick event and how to get the content out of the list to s...
asked by 24.05.2018 / 17:29
0
answers

Segment Controller with Table using api rest

I am using segment controller for different options ie consult my api and return data, from that data I need to obtain a specific serial of each data to consult in other web services and return other data to populate a table. import React, {Co...
asked by 15.05.2018 / 20:06
1
answer

Problem with Heroku and reactjs

I'm having a problem wanting to do push heroku master since trying to do push I get the following message: How can I deploy my app made with react in heroku? Thanks     
asked by 11.05.2018 / 15:17
0
answers

how to modify status within a function of the firebase api

I'm trying to implement a user registry using auth and firebase database. The idea is that a user log in with his facebook or google account and if he had never entered before, he saves his data and also goes to an instance where he must choose...
asked by 09.05.2018 / 18:27
1
answer

How can I limit the elements in a FlatList in React Native?

I'm trying to limit the elements, in this case the posts, I just want to show 4 posts. My Code: componentDidMount() { return fetch(ConfigApp.URL+'json/data_posts.php') .then((response) => response.json()) .then((responseJs...
asked by 06.05.2018 / 00:16
1
answer

Modify status from a component using React.createElement

I have a big problem, this object appears to me as undefined when it is called from the input text First Name class FormularioDeInscripcion extends React.Component{ constructor(props){ super(props); this.state = {nombre:"",...
asked by 07.04.2018 / 23:09
0
answers

Webpack, ReactJS and Babel

I am new in Webpack and my doubt is that when I install the DevDependencies such as the webpack itself generates the folder Node_Modules in this folder there are more development dependencies, so I want to use React and I al...
asked by 23.03.2018 / 18:25