I have state with
data: [
{ 'keya': 'Quando analisa','index':0 },
{ 'keyb': 'Modelo de texto','index':1 },
{ 'keyc': 'Parte sofreu alteraes','index':2 },
{ 'keyd': 'Todos os geradores','index':3 },
],
Want to access index. Tried
this.state.data.index
but not getting index value. How to access index?
this.state.data[index]?