Skip to content

Commit e487bcc

Browse files
committed
start at 1
1 parent 64768d2 commit e487bcc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/svelte/src/internal/client/dom/template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export function append(anchor, dom) {
250250
anchor.before(/** @type {Node} */ (dom));
251251
}
252252

253-
let uid = 100;
253+
let uid = 1;
254254

255255
/**
256256
* Create (or hydrate) an unique UID for the component instance.

packages/svelte/src/internal/server/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export function element(payload, tag, attributes_fn = noop, children_fn = noop)
8686
export let on_destroy = [];
8787

8888
function props_id_generator() {
89-
let uid = 100;
89+
let uid = 1;
9090
return () => 's' + uid++;
9191
}
9292

0 commit comments

Comments
 (0)