Closed cn10xdev closed 1 week ago
Hey, if this issue is not assigned to anyone, I'd like to work on it. Using array indices as keys can introduce potential issues with rendering efficiency and UI consistency especially when the list of customers is reordered or modified.
@cn10xdev thanks for assigning the issue to me. Made a PR (#12) please have a look.
Thanks for the opportunity to contribute! Can you please add "hacktoberfest" or hacktoberfest-accepted" label to the issue? "HacktoberFest24" is not a valid tag.
sure
Thanks, but it still doesn't seem to count it towards hacktoberfest contribution! I think it is important for the repo to have 'hacktoberfest' label to be eligible.
The map() function in the Customers component uses the array index as the key instead of a unique customer ID. This could lead to potential issues with rendering efficiency and reordering. The goal is to switch to a unique identifier without giving away the answer.