You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a DocumentFragment is being patched and currentElement is called at the root, then it will actually return a Node and not an Element.
I'm not sure if an assert should be added or if it should be currentNode instead. It doesn't seem like a good idea to expose the node being patched from inside, so an assert making sure that it isn't called at the root might be a good idea.
The text was updated successfully, but these errors were encountered:
If a
DocumentFragment
is being patched andcurrentElement
is called at the root, then it will actually return a Node and not an Element.I'm not sure if an assert should be added or if it should be
currentNode
instead. It doesn't seem like a good idea to expose the node being patched from inside, so an assert making sure that it isn't called at the root might be a good idea.The text was updated successfully, but these errors were encountered: