Questions tagged as 'react'

0
answers

Url query Reach Route - React

I have the following problem: I have an API in node.js that returns me id and name of products and supermarkets When I do a get in / supermarkets passing via url params /:idSupermercado I can get this parameter in the component by t...
asked by 05.12.2018 / 12:48
0
answers

How to receive data from a select correctly in react so that the selected / typed data is then saved?

How to receive data from a select correctly in react so that the selected / typed data is then saved? Thanks in advance, constructor(props) { super(props); this._handleSelect = this._handleSelect.bind(this) this.state =...
asked by 18.12.2018 / 19:58
0
answers

react-bootstrap-table - Scalable Table

I am a beginner in ReactJS and am using the react-bootstrap-table to render the data of an on-screen API. The code is basically this: render(){ return( <BootstrapTable data={this.state.playlist} keyField='_id' s...
asked by 28.11.2018 / 21:38
0
answers

Pass API data to another component react

I'm bringing some API data from a filter I created, it's just right that I do not know how to get this output and play the normal listing component. Services Listing Component /** * @license * 2018 CarFix do Brasil. * All Rights Reserved...
asked by 11.12.2018 / 13:57
0
answers

run an external program inside a desktop application using web technologies (Electron)

I created a WEB application using Electron technology to build the desktop build, this application is done with javascript, css, react ... I would like to open an external application, but to insert this open application into one of my window...
asked by 28.11.2018 / 14:30
1
answer

Sort followed by map not working on React

I have an array of objects and I am trying to iterate with map in this array after the sort method, however it is iterating in the normal array, disregarding the sort method and reordering. p> {this.mapasVetados .sort((...
asked by 28.11.2018 / 14:46
1
answer

Login React Native + Firebase with error using "SwitchNavigator"

error (undefined is not a function (near '... (0, _reactNavigation.SwitchNavigator) ...')) when compiling application. > I need to log in to the "Main" screen. import React from 'react' import { StyleSheet, Platform, Image, Text, View }...
asked by 30.11.2018 / 11:44
0
answers

Warning message in the expo app

When executing the code below in the expo app, it works however with the following warning message: Warning: Failed child context type: Invalid child context virtualizedCell.cellKey of type number supplied to CellRenderer , e...
asked by 26.11.2018 / 02:08
1
answer

Redirection to screen "Home" after validating login - React Native + Firebase

I need to implement in the code below the command for once the user is validated to be redirected to the "Home" screen. The changes I made did not solve my problem. I can create the user, save in Firebase but when I log in I can not direct to th...
asked by 30.11.2018 / 13:38
0
answers

Problems with React

I'm logging in and saving the data in a Session Storage, however every time I'm using a button (such as changing my password) I change the user's password but I have to log in again. Session Storage data is not lost but I do not know why I have...
asked by 26.11.2018 / 11:57