Posts by BrEnO SiLvA • 11 points
2 posts
-
0
votes2
answers430
viewsA: "Value Below was evaluated just now" - React (Vibrantjs)
I ended up solving it another way: gerarPaleta = () => { let imagens = this.state.imagens; Promise.all(imagens.map(({ src }) => Vibrant.from(src.small).getPalette())) .then( paletas =>…
-
1
votes2
answers430
viewsQ: "Value Below was evaluated just now" - React (Vibrantjs)
Hello, everyone. I’m using the library Vibrantjs passing an array of images and saving the return in the state of my component in React. As in the code snippet below. gerarPaleta = () => { let…