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

React issue: Each child in a list should have a unique "key" prop. #899

Open
JSON-stringify-24 opened this issue Sep 22, 2023 · 3 comments

Comments

@JSON-stringify-24
Copy link

JSON-stringify-24 commented Sep 22, 2023

Trying to solve this warning "Each child in a list should have a unique "key" prop." on a react.js app, found out that the dinamically generation of the li buttons for paginate does not contains any "key" or method to add a prop key to all the li . Any recomendation? before do it with JS want to know if there is other way.

Thanks.

@hafeeeii
Copy link

why don't just use index as key?

@JSON-stringify-24
Copy link
Author

why don't just use index as key?

the plug autogenerate the ul paginate buttons, without a key, i did it with JS but the problem persist

@shawnkelshaw
Copy link

I'm searching for technical documentation, tips, tutorials, etc. on implementing FooTable within a React environment. Can someone help me?

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

3 participants