コード例 #1
0
ファイル: PureComponent.cs プロジェクト: widra/Bridge.React
 private bool ShouldComponentUpdate(WrappedValue <TProps> nextPropsIfAny)
 {
     return(!ComponentPropsHelpers.DoPropsReferencesMatch(this.props, ComponentPropsHelpers.UnWrapValueIfDefined(nextPropsIfAny)));
 }
コード例 #2
0
ファイル: StaticComponent.cs プロジェクト: widra/Bridge.React
 internal static bool DoPropsReferencesMatch <TProps>(TProps props1, TProps props2)
 {
     return(ComponentPropsHelpers.DoPropsReferencesMatch(props1, props2));
 }