Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using randomly unique value as a key in itemRenderer #14

Closed
ghost opened this issue Aug 1, 2019 · 1 comment
Closed

Using randomly unique value as a key in itemRenderer #14

ghost opened this issue Aug 1, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 1, 2019

This feature will be useful when adding elements to the state without first sending them to the server to obtain a unique identifier

@ghost ghost changed the title Using as key randomly unique value in itemRenderer Using randomly unique value as a key in itemRenderer Aug 2, 2019
@lytc
Copy link
Owner

lytc commented Sep 17, 2019

@EricFries You can generate uniq ID by yourself. That is not a good practice to using randomly as a key because of React performance!

@lytc lytc closed this as completed Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant