Skip to content
Closed
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
1 change: 1 addition & 0 deletions packages/async-loader/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const PENDING = {};

// Given a VNode, finds its previous element sibling
function getPreviousSibling(vnode, inner) {
if (!vnode) return;
// in an element parent with no preceeding siblings means we're the first child
if (typeof vnode.type === 'string') return null;
const parent = vnode.__;
Expand Down