オブジェクトのID等をkeyとして渡していた時に、意図せず同じオブジェクトをレンダリングして重複したIDが渡ると、コンポーネントの更新等に不具合が起きるので、Math.random()使っておけばいいという結論に達しました。
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme