Questions tagged as 'react'

1
answer

Break data divided by commas

I'm trying to make a crawler using arduino, a gps module and a gsm. I can receive the latitude, longitude and send to the cell phone as SMS, but in the mobile I am trying to build an application with react-native , in which I am learnin...
asked by 22.11.2017 / 19:00
1
answer

How to access a nested object in another object dynamically?

I have the following JSON { "Id":"ssjsjs", "Name":"STFksks S.A", "Alias":"STF jnsns S.A", "DocumentId":"010101", "Accounts":[ "hahadkjkjteste" ], "CountryCode":"BRA", "Country":"Brasil", "Address":{ "Post...
asked by 11.08.2017 / 16:35
1
answer

How to create a React component of select that in the bind event "change" get the right value that was selected?

Good evening! I'm trying to make a select component that is used more than once inside another Parent component. To create the "option" tags, I make a map inside the array that I created as a state of the Pai / App class. So far, it wor...
asked by 24.06.2017 / 23:42
1
answer

How do I list a GraphApi response with React?

I've been trying to create a simple list of the names of the events that I get from a request for GraphApi from Facebook. The object I get is the following: How do I list only event names? for example: John Mayer .... Popload .... Torm...
asked by 19.06.2017 / 07:30
1
answer

Syntax error Adjacent JSX React

I created a component that has six images but when compiling my code I get the following error. AndthisismysourcecodefortheImovelPhotoscomponentimportReactfrom'react';functionImovelPhotos(){return(<divclass="col s12 m3 l3"> <...
asked by 17.05.2018 / 20:54
1
answer

Error in Reactive Native when generating Android app

I'm running the commands: react-native init AwesomeProject cd AwesomeProject react-native start And then this command: react-native run-android The error that appears: How to fix this error ??     
asked by 03.04.2017 / 21:29
1
answer

Reactjs running on apache

I have the following structure to display the famous Hello World with reactjs: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script src="https://cdnjs.cloudfla...
asked by 30.10.2016 / 01:43
1
answer

Webpack error with bootstrap-loader

I'm having trouble implementing the bootstrap-loader in the webpack. I get this error output on the console:    ERROR in   ./~/css-loader!/~/resolve-url-loader!/~/sass-loader?sourceMap!/~/bootstrap-loader/lib/bootstrap.styles.loader.js!./~/ b...
asked by 05.09.2016 / 17:52
1
answer

Create class with common imports material-ui and react

I would like to create a common class in my application with react and material-ui. I have, for example, that create a series of elements with tables. Every time I use I have to import some libs. For example: const Table = require('material-ui...
asked by 04.12.2015 / 10:58
1
answer

The route does not run when you call after PayPal checkout

The successful route is not activated after the PayPal checkout that redirects to / success PS: My view is in react. This is the part that is not being called when access / success app.get('/success', (req, res) => { const payerId...
asked by 27.12.2018 / 14:47