SyntaxFix
Write A Post
Hire A Developer
Questions
I use the below Object.entries to easily output the key and the value:
Object.entries
{Object.entries(someObject).map(([key, val], i) => ( <p key={i}> {key}: {val} </p> ))}