Questions tagged as 'react'

0
answers

onChange in jQuery Input Mask does not work

I have a React component for user registration, in some of the fields I added a Jquery mask, but since I added the mask, the onChange command has stopped working (only in the fields with the mask) one of the fields is this: <input type="...
asked by 08.06.2018 / 21:52
0
answers

How to split a list into two columns?

I think my logic is right, but this way it does not divide it is just one underneath the other and I want two {this.state.paises.map((country,index)=>{ return(...
asked by 20.05.2018 / 16:25
1
answer

Module not found: Can not resolve 'assets / css / custom.css'

I have a small problem when starting my project in react, when running the command yarn start the terminal returns me the following error ./src/index.js Module not found: Can't resolve 'assets/css/custom.css' But in my index.js it's like th...
asked by 14.05.2018 / 22:13
1
answer

How do I update a component of another class in React?

I'm new here in the forum and I'm studying react and I came across a question .. I have the following files: App.js class App extends Component { constructor(props) { super(props) this.state = {...
asked by 11.05.2018 / 00:50
1
answer

Shadow box in React Native image

I'm having trouble putting a shadow in the image, I tried to put it in View and Image but it did not work. <View style={styles.ContainerImageProfile}> <Image style={styles.ImageProfile} source={{uri: 'profile....
asked by 10.05.2018 / 00:18
0
answers

How to access value of a state between different classes in React / Pubsub

I'm having trouble getting a value from a specific state of another class, I do not know if this is the best way to get what I want. At first I have a class with form that will do an Ajax search and return the result, I used a PubSub JS to re...
asked by 10.05.2018 / 15:00
0
answers

React Redux with Material-UI for web

I'm starting with react and redux , but I've already programmed in the backend a long time. The question is about using the ui material for the web. How is this version issue for IE browser? Because the -ii-next stuff works with IE 11...
asked by 04.05.2018 / 13:21
1
answer

Help icon / view positioning under image

I would like to take a CSS / HTML question, I will start a project in REACT NATIVE, and in the project I came across this layout objective: My question is, how can I put the icon (STAR) under the background image and the view where it i...
asked by 04.05.2018 / 04:39
0
answers

How to validate tr tags in a table with React

I have two components. The first is the parent and the second is rendered in the parent as tr tags, like rows in a table, they need validation. Because tds tags contain inputs that need to be validated before the parent writes their information...
asked by 02.05.2018 / 19:52
0
answers

How to pass State to Header navigation

In the componentWillMount I fill in the arraylist from the Fetch API, and I would like to pass a parameter of that filled arraylist (Ex: name), to the title of the Header (navigation), with that code I am not getting. > import React from 'react...
asked by 05.05.2018 / 06:06