feat: should be functional across the boar

This commit is contained in:
Jonathan Kelley 2021-11-11 12:06:15 -05:00
parent c10c1f418b
commit 74c6211408

View file

@ -1155,8 +1155,9 @@ impl<'bump> DiffState<'bump> {
VNode::Element(t) => break t.dom_id.get(),
VNode::Suspended(t) => break t.dom_id.get(),
VNode::Anchor(t) => break t.dom_id.get(),
VNode::Linked(_) => {
todo!()
VNode::Linked(l) => {
let node: &VNode = unsafe { std::mem::transmute(&*l.node) };
self.find_last_element(node);
}
VNode::Fragment(frag) => {
search_node = frag.children.last();