This repository was archived by the owner on Mar 6, 2025. It is now read-only.
Commit 90b7e99
Generate a uuid only once
Instead of generating a new uuid on every render, generate it only once
for the lifecycle of the component.1 parent 5722149 commit 90b7e99
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
69 | | - | |
| 71 | + | |
70 | 72 | | |
71 | | - | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
0 commit comments