score:0

you need to return the result of the getpersons function.

score:0

your getpersons() method just returning anything.

getpersons() {
    return this._persons.map(function (p, i) {
        console.log(i);
        return <person name={p.name} age={p.age} />
    });
}

score:3

you never actually return anything from getpersons. therefore there is nothing to render. you just need to return the result of your call to map:

getpersons() {
  return this._persons.map(function (p, i) {
    console.log(i);
    return <person name={p.name} age={p.age} />;
  }
}

Related Query

More Query from same tag