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

Commit

Permalink
Edited misleading name comment in reconciler (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
idiomic authored and LPGhatguy committed Jun 9, 2018
1 parent b161fc1 commit 28ea284
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Reconciler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,9 @@ function Reconciler._mountInternal(element, parent, key, context)
end

-- This name can be passed through multiple components.
-- What's important is the final Roblox Instance receives the name
-- It's solely for debugging purposes; Roact doesn't use it.
-- Elements with the same key will be treated as the same
-- element between reconciles; the old element will be
-- reconciled to the new element with the same key.
if key then
rbx.Name = key
end
Expand Down

0 comments on commit 28ea284

Please sign in to comment.