I have following array of objects in React:
const arr = [
{ randomnumber: 'random string' },
{ randomnumber: 'random string' }
];
Where every number (key) and string (value) are always random. How to render this? I want to get something like this:
<p> {randomnumber} is: {randomstring} </p>
I've tried few methods with map, but it doesn't work. Any ideas?