Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
ConorGriffin37 committed Aug 9, 2021
1 parent 48982a6 commit c0581b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createReconciler.lua
Expand Up @@ -88,7 +88,7 @@ local function createReconciler(renderer)
-- this result is invalid and needs to be disgarded.
if config.tempFixUpdateChildrenReEntrancy then
if virtualNode.updateChildrenCount ~= currentUpdateChildrenCount then
if newNode and not newNode ~= virtualNode.children[childKey] then
if newNode and newNode ~= virtualNode.children[childKey] then
unmountVirtualNode(newNode)
end
return
Expand Down

0 comments on commit c0581b8

Please sign in to comment.