score:0

return (
        <>
          <ul>
            {country.country.map((item, index) => {
              return <li key={index}>{item.name}</li>;
            })}
          </ul>
        </>
      );

score:1

 return <li key={uuidv4()}>{item.name}</li>;

Related Query

More Query from same tag