what the fucking fucking shit map function in react doesnt work

WHEN YOU HAVE A MAP FUNCTION YOU NEED TO PUT THE RESULT IN A DIV, YOU CAN’T JUST DISPLAY THE VARIABLE. FUCK YOU REACT!

WORKS

{result.recommended_attack.ids.map((attack_id) =>
    <div>{attack_id}</div>
)}

FAILS

{result.recommended_attack.ids.map((attack_id) =>
    {attack_id}
)}

FUCK YOU REACT

Post Content