Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/chart/custom/CustomView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1340,6 +1340,13 @@ function mergeChildren(
);
}
else {
if (__DEV__) {
assert(
oldChild,
'renderItem should not return a group containing elements'
+ ' as null/undefined/{} if they do not exist before.'
);
}
// If the new element option is null, it means to remove the old
// element. But we cannot really remove the element from the group
// directly, because the element order may not be stable when this
Expand Down