Questions tagged as 'ecmascript-2015'

2
answers

"Unexpected token" error when trying to use ECMA2015 module

I am testing the use of the ECMA2015 modules and something will be wrong because I can not use it. My code is as follows: //Archivo libreria.js export {unaFuncion, otraFuncion}; function unaFuncion() { console.log('Escrito desde u...
asked by 15.03.2018 / 02:11
1
answer

How to upload images to nodejs

I want to upload several images to my server nodejs that have additional information such as title and category , I tried sending the images in DataUrl but due to The limitations of POST does not allow me to upload more than 2 images at a t...
asked by 14.05.2017 / 22:55
1
answer

call function behind render in React Js (ecma2015)

help in React js with ecmaScript 2015 how to call a method within the method render () {} I get an error Can not read property 'ss' of undefined (... where this error ?? I can not call the function ss that I did within the render () method:...
asked by 15.12.2016 / 05:43
1
answer

Replace one template with another in nodejs

I have a doubt .. Attach a button to close session. You already create the event and everything is fine. But how can I tell the server to send me the welcome page? Use nodejs server. And in the front javascript ... The welcome page is a...
asked by 28.01.2018 / 00:25
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

Modify property of Json object with its name as argument of a function

I want to create a function that modifies the value of a property by its name that it receives as an argument of type string let Personas = [ {nombre: 'Juan', apellido: 'Perez'}, {nombre: 'Maria', apellido: 'Gonzales'},...
asked by 26.04.2017 / 19:54