Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
beyaz committed Oct 20, 2024
1 parent 53d6971 commit ea1a660
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ReactWithDotNet/FC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -353,15 +353,15 @@ static void TryUpdateProps(object delegateMethodTargetInstance, object target)
}

var delegateMethodTargetInstanceType = delegateMethodTargetInstance.GetType();

if (delegateMethodTargetInstanceType != target.GetType())
{
// TODO: check on hierarchical component tree.
return;
}
// delegateMethodTargetInstanceType.Calculated().

// todo: cache to calculated for props

foreach (var fieldInfo in delegateMethodTargetInstanceType.GetFields())
{
if (char.IsUpper(fieldInfo.Name[0]))
Expand Down

0 comments on commit ea1a660

Please sign in to comment.