mantine-ui: stable AND definitely unique key for /alerts cards#16044
mantine-ui: stable AND definitely unique key for /alerts cards#16044juliusv merged 4 commits intoprometheus:mainfrom
Conversation
|
I'm not sure why is the current |
|
Right now the key |
|
I wrote stable AND definitely unique keys for the |
|
Hello from the bug scrub, PR seems active, leaving open. |
Signed-off-by: amanycodes <amanycodes@gmail.com>
Signed-off-by: amanycodes <amanycodes@gmail.com>
Signed-off-by: amanycodes <amanycodes@gmail.com>
Signed-off-by: amanycodes <amanycodes@gmail.com>
11baddb to
ad84642
Compare
|
@juliusv I have rebased this one aswell. Please review the changes! |
Replaced the index
iwithg.name-g.filewhich I think is stable (and unique) enough, I haven't caught any edge cases yet, but was also wondering maybe generate some unique ID (hash, uuid) and assign them. but re-renders when a card is removed might cause some issues. 🤔