Posts by Sarah Rodrigues • 25 points
3 posts
-
-2
votes5
answers120
viewsQ: Merging an array with an object array
let apis = [{id: "1", name"api 1"}, {id: "2", name:"api 2"}, {id: "3", name:"api 3"}]; let applications = [{id: "1", name:"application 01", apis: ["1", "2"]}, {id: "2", name: "application 02", apis:…
-
0
votes2
answers71
viewsQ: filter object array based on string array
Hello I have an array of objects like this: product: [ { id: "1", name: "product 01" }, { id: "2", name: "product 02" }, { id: "3", name: "product 03" }, { id: "4", name: "product 04" }, { id: "5",…
-
-2
votes1
answer367
viewsQ: Error in map: this.state.filmes.map is not a Function. I’m not being able to access the Results information. Could you help me?
import React, { Component, Fragment } from 'react'; import $ from 'jquery'; export class ListaFilmes extends Component{ constructor() { super(); this.state = { filmes: [], } } componentDidMount() {…