Questions tagged as 'react'

1
answer

Does my SideBar in React not slide from left to right with the click?

When I click on the toggle my bar appears as I wish but it does not slide from left to right it just appears, I would like it to be displayed as the following snippet but I can not make it slide apparently I have to declare the width in vw, th...
asked by 19.12.2017 / 16:33
1
answer

How to capture object File sent with fetch in a Symfony Driver

I have the following code where you asicronically sent an object file .. This is the function with which I capture the File object handleChangeAudio: (event) => { var arrayAudio = event.target.files; function readerF...
asked by 04.12.2017 / 15:47
1
answer

How to correctly use React props within a data-target?

I would like to know how to use props within a data-target attribute of a 'Modal' this would be my code for the button that activates the Modal <button type="button" className="btn btn-primary btn-block" data-toggle="modal" data-target={...
asked by 26.11.2017 / 18:22
1
answer

Functional Components in React

I have a Square.js file that contains a function: function Square(props) { <button className="square" onClick={props.onClick}> {props.value} </button> } that would come the functional component that I want to use...
asked by 16.10.2017 / 16:37
0
answers

SEO does not read H1 in React

I have a page completely made in React, I want to increase the SEO but the problem is that Google does not take into account the H1, I have reviewed my page with several SEO tools and they all indicate the same problem. In fact, when I see th...
asked by 13.10.2017 / 19:47
1
answer

ReacNative Error npm start

I am using ReactNAtive in linux, npm version 4.6. what happens is that when I use the npm start command it throws some errors and does not start the server logs: 0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/...
asked by 29.09.2017 / 01:21
1
answer

Pass data from firebase firestore to React JS library "react-table"

I need to pass information from firestore (the new firebase DB) to the react-table library (datable library), it is easy to pass information through .map to some or another element that is repeated according to the number of items contained in...
asked by 15.11.2017 / 23:38
1
answer

convert project react to react native

can I put a web page created with reactivate convert it react-native ?, and if possible how, I can reuse the same server on the web page, with the rea-native app so that the same user can be accessed , the functions and privileges of the same us...
asked by 01.09.2017 / 05:24
2
answers

how to show the initial state of the store in react-redux?

Good afternoon friends, I introduce myself to this community, I have a question I hope you can clarify, How do I show the initial status of the store in react-redux ? I have a simple component with a <h1> in react , whic...
asked by 24.08.2017 / 20:14
0
answers

Validation in reactive Forms, Set SetValidators to not required

Good afternoon, I have a problem, I have burned all the ships and I can not get out of the mess, the issue is to change field validations in a reacive form based on the behavior of a group of fields. I am creating a recipe, it is a form with a h...
asked by 23.08.2017 / 20:53