Skip to content

Commit 53c608b

Browse files
committed
onremove comment
1 parent f66cdd1 commit 53c608b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/universal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export const insert: su.Renderer<SolidNode>['insert'] = (
164164
for (let i = 0; i < prev.length; i++) {
165165
let c = prev[i]!;
166166
if (c.parent !== el) {
167-
(c as lng.ElementNode).onRemove?.(c as lng.ElementNode);
167+
(c as lng.ElementNode).onRemove?.(c as lng.ElementNode); // ? Should this be called in effect?
168168
if (el.requiresLayout()) {
169169
lng.addToLayoutQueue(el);
170170
}

0 commit comments

Comments
 (0)