Here we are having a list of todo items that is passed to the props of our component.
Each todo item has a text and id property. Imagine that the id property comes from a backend datastore and is a unique numeric value:
todos = [
{
id: 1,
text: 'value 1'
},
{
id: 2,
te...