79085980

Date: 2024-10-14 11:35:41
Score: 0.5
Natty:
Report link

Instead of creating an object, you should directly use JSX for rendering inside the .map() function:

<tbody>
  {users.map((user) => (
    <tr key={user.id}>
      <td>{user.name}</td>
      <td>{user.email}</td>
    </tr>
  ))}
</tbody>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vibhu