Closed oravecz closed 7 years ago
What's the problem?
sequence number
Sequence numbers are likely to hit a user specified key, which is why I didn't use some counter. Imagine:
var lis = [{ id: 0 }, { id: 1 }];
<ul>
{lis.map(li => <li key=li.id />)}
</ul>
No problem per se. I was wondering about a smaller uUID so as to be able to minify more effectively On Wed, Dec 21, 2016 at 3:57 PM Justin Ridgewell notifications@github.com wrote:
What's the problem?
sequence number
Sequence numbers are likely to hit a user specified key, which is why I didn't use some counter. Imagine:
var lis = [{ id: 0 }, { id: 1 }];
{lis.map(li => )}
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jridgewell/babel-plugin-transform-incremental-dom/issues/85#issuecomment-268637434, or mute the thread https://github.com/notifications/unsubscribe-auth/AASK8K_BBkDlIM8Ltj_5POa2iX-ndTmKks5rKZKegaJpZM4LTWBx .
Is it possible to generate uuids using a sequence number, or sequence with custom prefix?