Questions tagged as 'react'

0
answers

React with TypeScript

Hello, I'm learning to make React applications with TS, and within my studies I came across a problem. I'm exporting a component as follows const Button = styled.button' background-color: Transparent; background-repeat:no-repeat; border: no...
asked by 05.09.2018 / 03:29
0
answers

How to allow CSS scroll

All right? I need a help in css, I want to scroll but I can not there every time I increase the value of the footer height it covers the background where it was actually to get the 2 elements and the scroll bar is displayed, follows the code,...
asked by 09.09.2018 / 14:12
1
answer

Uploading Files in React Native

Good afternoon guys, I'm starting programming in react-native and I'm having a question about using forms to upload files. Is it possible? Thank you.     
asked by 01.09.2018 / 18:09
0
answers

SessionStorage Returning NULL when Application Starts

I have a function that is bound to a button, which saves a value in sessionStorage.setItem , and redirects to another page. Arquivo cliente.js pegaValorConta(id) { sessionStorage.setItem('id-cliente-conta', id); window.loc...
asked by 16.09.2018 / 00:09
0
answers

How to search for latitude and longitude by city using react-native-geocoding

Hello, I'm trying to return the information of the city, but when I tell you the name of cities, it does not return anything to me ... it only rotunds me when I put names of places like Colosseum ... onPressBuscaLongetudeLatidePorNome = async...
asked by 27.08.2018 / 04:13
0
answers

How to use PubSub-JS in Different Files

I'm doing an application with React, I want to save data with the pubsub-js library, the scheme is as follows. I have two components that are in different files: cliente.js and conta.js In the file cliente.js I...
asked by 21.08.2018 / 20:47
1
answer

Consuming API ReactJs

I'm new to ReactJs, when I try to consume a local API I can not, I think it's this message:    localhost You need to enable JavaScript to run this app. My code: export default class App extends React.Component { state = {...
asked by 20.08.2018 / 14:22
0
answers

using API Google Places error details Allow origin Cors React project

I'm trying to use the Google Place API to get details of Places by their Id I'm using the service provided here link I'm developing in ReactJs follow error image If anyone has already experienced something similar and can help....
asked by 26.08.2018 / 04:21
0
answers

webkit-scrollbar no react

I need to customize a scroll bar for a React component, but I'm not sure how I should write the webkit-scrollbar syntax inside it. Could you help me?     
asked by 23.08.2018 / 20:36
0
answers

Handle JSON file using React

I'm using React for an application and I need to get some values from a JSON API. API sample. { "Meta Data": { "1. Information": "Intraday Prices and Volumes for Digital Currency", "2. Digital Currency Code": "BTC",...
asked by 16.08.2018 / 00:48