Questions tagged as 'react'

0
answers

React - Black screen on modal display

Alright? I have a problem with displaying a modal in a component react, it happens that when we click to display the modal view the screen goes dark and ends up locking the browser In the code I have the following excerpts: Menu resp...
asked by 28.06.2018 / 15:49
1
answer

Retrieve item index into list to delete

I'm trying to make a demo application for bookmarking (Bookmarks). I can retrieve in a list what I type in the 3 inputs I have on my screen (Description, URL and tag), and I can include as many items as I want in this list. But I can not retr...
asked by 25.05.2018 / 05:11
0
answers

react-native init proxy-related error

I am not able to configure my first app, it is something related to the proxy, but I have no idea how to solve this already I researched everything that is place someone knows how to solve?     
asked by 19.05.2018 / 04:44
1
answer

How to insert image using react.js

I'm starting in the react, and how do I insert an image that stays on top of my background, which is already an image? The code is as follows: import React from 'react' import Img from 'react-image' import teacher1 from "./images/teacher1.jp...
asked by 26.06.2018 / 19:37
1
answer

Responsiveness using React and Bootstrap

I have a problem that I have been trying to solve for a long time, and I can not, that is to leave the layout of the site taking the whole page, it stays that way. link (print as is) Note that it takes up only 70% of the screen, so the code...
asked by 29.03.2018 / 16:04
1
answer

Update status by observing date change

Hello, I am making a component that shows the current date, but I would like it to update as soon as the change occurred, but I was only able to leave it active for a change with a timeout, which I think is not a good solution, all the time unnec...
asked by 20.03.2018 / 20:09
2
answers

Is there a way to map () an array of objects in React?

I'm doing a project where I need several recipe cards that will contain: title and ingredients. These cards should be expandable (the user will see the title and when clicking, the ingredients will be shown) and to facilitate, I am using the Ui...
asked by 16.02.2018 / 23:39
1
answer

Pass component to child

Is there a way I can pass a specialized component to a child by props? I have a situation where I want to reuse the maximum without duplicating, and I did not understand the right way to do it. Basically I have a card (widget) and inside that...
asked by 21.03.2018 / 18:46
1
answer

The command "npm run build" is not working

My problem is the following when executing the command (To prepare the files for production): npm run build It does not show any error, apparently everything went well: c:\bin\node-v8.9.2-win-x64\teste_novo_projeto\my-app>npm run build...
asked by 27.12.2017 / 19:58
1
answer

I can not change the default app for react native

I made some changes to the index.android.js file and saved it, when running react-native run-android command, the app remains the same !! The code looks like this: var React = require('react'); var Text = require('react-native').Text; var AppR...
asked by 13.12.2017 / 04:31