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

Key handling - index, id or something else #917

Open
Ty-ci opened this issue Nov 12, 2024 · 0 comments
Open

Key handling - index, id or something else #917

Ty-ci opened this issue Nov 12, 2024 · 0 comments
Labels
issue: discussion Needs to be discussed with a team issue: infrastructure

Comments

@Ty-ci
Copy link
Collaborator

Ty-ci commented Nov 12, 2024

In the current repo, we use key={index} in lists, which is not recommended.
When mapping over strapi entities, their ids can be used vecause they are unique.

@Ty-ci Ty-ci added this to olo.sk Nov 4, 2024
@Ty-ci Ty-ci converted this from a draft issue Nov 12, 2024
@Ty-ci Ty-ci changed the title Key handling - index, id or else Key handling - index, id or something else Nov 12, 2024
@jankaBehal jankaBehal added the issue: discussion Needs to be discussed with a team label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: discussion Needs to be discussed with a team issue: infrastructure
Projects
Status: To do
Development

No branches or pull requests

2 participants