Questions tagged as 'reactjs'

1
answer

Print reports with React

Good morning, I'm practically new with this technology and well I'm doing my first steps. I am with a project for my company and I would like to know if it is possible to print certain reports directly to the printer by react. Thanks for your...
asked by 15.09.2017 / 11:24
1
answer

React - setState () This usually means you called setState () on an unmounted component

I have a problem with setState function, this is the problem:    Warning: setState (...): Can only update a mounted or mounting   component. This usually means you called setState () on an unmounted   component. This is a no-op Please check t...
asked by 01.08.2017 / 22:39
1
answer

How to order the answer from my Firebase

I am getting all my users' service records and showing them, but I would like to define the order in which they should be displayed. For this I added a new field with the name Order . My topic is that I have not been able to find the order...
asked by 31.05.2017 / 21:58
1
answer

Improve performance when loading images with reactjs

I'm starting with react, and as an exercise I want to make a drag & amp image charger. Drop using components. The problem is that when loading an image the RAM consumption of the navigator rises, but when dragging images again to the componen...
asked by 28.04.2017 / 18:10
0
answers

Warning: Automatically setting basename using base href

Warning Warning: Automatically setting basename using <base href> is deprecated and will be removed in the next major release. The semantics of <base href> are subtly different from basename. Please pass the basename explicitly in...
asked by 07.02.2017 / 18:49
0
answers

Why does this fetch return this error?

This is my fetch var code = this.props.location.query.code fetch ('https://github.com/login/oauth/access_token/?client_id=xxxx&client_secret=xxxxx&code='+code+'&accept=json', { method: 'GET', }) Error Fe...
asked by 23.01.2017 / 22:40
1
answer

Change my project directory to react and now it does not work

Change my project directory and now it does not work, I already did a replace with sublime text and changed all the old routes of the project to the new ones Old path: /Users/Santiago/Desktop/Work New route: /Users/Santiago/Desktop/...
asked by 26.01.2017 / 17:24
1
answer

What is the correct way to do this FETCH to send an image?

fetch ('http://localhost:3000/api/demos/create/${this.state.name}/${this.state.img}', { method: 'POST', }) The problem with this method is that it sends me this request and it's wrong http://localhost:3000/api/demos/create...
asked by 19.01.2017 / 19:14
2
answers

Weight problem compiling with WebPack

Friends, I'm working on an application with ReactJS using es6. I started using browserify for the conversion and compilation of es6 to es5. But I realized that my "bundle" file after the transformation weighs 1.3mb, which is logically too much...
asked by 05.02.2017 / 15:30
1
answer

search and auto completion search using javascript and html

good I have to do a project using javascrip the library react js and html. The project consists in making a search bar that completes what I'm writing, this is done using an api and all this is inside a modal. I already have the modal and the...
asked by 04.02.2017 / 23:55