Questions tagged as 'react'

1
answer

Codecademy React.js doubt

I am doing the React.js exercises at codecademy.com and got stuck on this issue. I do not know what's wrong and I can not go forward.     
asked by 27.08.2016 / 00:12
0
answers

React-router: Maximum Callstack Exceeded

I'm trying to set up routes for my application, but when I'm based on official example in github I get an error of "Maximum Callstack Exceeded" . I checked everything from point to point and I can not find my error. Here is my code...
asked by 08.08.2016 / 23:34
2
answers

Remove the focus / outline from the input (CSS)

How do I remove this focus / outline from the input? This is my HTML I'm using ReactJS, Bootstrap-react <div className="viewInstrument-table-heading"> <div className="table-heading1">...
asked by 16.05.2017 / 15:08
0
answers

React-router-dom does not work in production build

Hello I'm using the Sun react-router in my application and everything works normally when squeeze with npm start. But when I run npm run build and open the application on a server, the routes do not work. Clicking on a link gives "page not fo...
asked by 04.01.2019 / 03:26
1
answer

Detect TR clicked pass by REACT function

How to detect the TH that I clicked and go through parameter in React? I wanted to do an ordering, but I'm having difficulty going through a parameter in a function that I clicked on, can anyone help me with this? ordertableBy = async(ev) =...
asked by 30.12.2018 / 22:49
1
answer

Access / Order an array dynamically in JavaScript / React [closed]

I'm trying to do an array sorting, it's already working. This code: search = async() => { const response = await api.post('/client/find', { "filter": this.state.filterSelected, "input": this.state.textSearch }); // ordenar de acor...
asked by 30.12.2018 / 23:42
1
answer

Change input color when I do not have valid data?

This code works: this.state = { backgroundcolorQuatro: '', backgroundcolorSeis:'', backgroundcolorDez:'', quatro:'', seis:'', dez:'' } validar = () => { if (this.state.quatro !== '4') { th...
asked by 10.07.2018 / 19:39
1
answer

NodeJS, express, browser does not find files

Good afternoon, I did an API with Node and consumed it with React, in development environment, it works OK because I started one independent of the other, but in production I'm trying to deliver the static files compiled by React to the Node. 3...
asked by 16.02.2018 / 20:50
1
answer

Facebook login giving URL Blocked

I'm creating a web app with login through facebook, but in some cell phones, when trying to enter the user receives a response like the image. I've tried several different settings in the facebook developer panel, but still unsuccessful. W...
asked by 16.10.2017 / 02:19
1
answer

Countdown counter does not stop in Zero [closed]

Countdown timer does not stop when it reaches "0". I need the stopwatch stop when it reaches "0" and when clicking the "start" button it starts with the set value, which is "1 min" and decrements to "0" again. The Stop and Add 1 Minute buttons a...
asked by 28.10.2018 / 22:35