Questions tagged as 'react'

1
answer

Why should not I use Jquery with React?

What would be the disadvantage when using jQuery with React? For I am turning a site that is all in jQuery to React and I see in many forums the staff saying that it is not good practice to use jQuery next to React but with no complete explanati...
asked by 22.05.2018 / 22:53
2
answers

Does the import order of components interfere with performance?

Today I wondered about an issue in the import order of components, be it Angular, React, or Vue. Does order of import of order-of-use components improve performance or nothing to see? Where everything is already built and js will only be resp...
asked by 24.08.2018 / 13:59
1
answer

How to pass phrases to a variable and then show randomly

Well, I started programming yesterday in React Native and I still do not understand very well how to do things .... I need to pass a series of sentences to multiple variables, each variable a phrase, and then present them in a way random. onPla...
asked by 17.05.2017 / 10:37
2
answers

How to change the style of a React component when you click a button?

I am using React and I am creating some components, I am very new to react, I am styling the components in an external css file and importing, however I need to do a side bar that I need to open and close when I click on a button, that this is g...
asked by 27.03.2018 / 23:14
3
answers

What should I know to be able to use React as my front-end library?

My question is divided into three points: Are there types of applications where using React is very efficient? Or where would it be dispensable or not recommended? What would they be? What other technologies (libraries, frameworks, conc...
asked by 26.07.2018 / 16:31
1
answer

consume api rest with react and render the data in a table

My code: import React, { Component } from 'react' import axios from 'axios' import PageHeader from '../template/pageHeader' import cadastroForm from './cadastroForm' import cadastroList from './cadastroList' const URL = 'http://localhost:300...
asked by 04.05.2018 / 15:45
1
answer

Create tight button effect

I have the following component in React: import React, { Component } from 'react'; class Counter extends Component { constructor(props) { super(props); this.state = { count: parseInt(this.props.value) }; this.inc = t...
asked by 07.02.2018 / 21:52
1
answer

How to share a property with other components in React?

Hello, I'm new to React and I have a question about sharing properties. For example, I want to have a parent component that will have a "visible" property, and I want to share it with all my child components, so I can use it this way, for ex...
asked by 14.02.2017 / 02:04
2
answers

React delaying when opening graphical dependencies

After executing the commands: react-native init AwesomeProject cd AwesomeProject react-native start In cmd, I can not execute the graphic part of Reactuy-Android You already have Android installed How do I fix this?     
asked by 31.03.2017 / 01:59
1
answer

Get Geolocation Coordinates (Reactjs)

Hello, I'm developing a simple application that takes the geographical coordinates of google maps api. It's working, but I'm not getting the values that are in the other function. In fact I just want a way to get the Latitude and Longitude value...
asked by 26.06.2016 / 03:12