Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(react): provide unique key instead of index
As providing index as keys is a bad practice, this commit modifies the key value to be `photo.filepath` which will be unique and consistent while adding new photos. [Keys - react docs](https://reactjs.org/docs/lists-and-keys.html#keys) [example why it is not recommended](https://robinpokorny.com/blog/index-as-a-key-is-an-anti-pattern/)
- Loading branch information