score:1

Accepted answer

Issue

You are using Array.prototype.forEach to try and render your state. .forEach is a void return, however, so nothing is returned to be rendered.

Solution

Use Array.prototype.map to map the users state to JSX.

{
  users.map((u, index) => (
    <li key={index}>{u}</li>
  ))
}

Related Query

More Query from same tag