From d5fb2c271771e9440d18c5534342fd93a24c8521 Mon Sep 17 00:00:00 2001 From: Leonard Kim Date: Mon, 29 Oct 2018 15:06:23 -0700 Subject: [PATCH] ref(sdk): update comments to exclude mention of componentWillReceiveProps --- android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java | 2 +- ios/sdk/src/JitsiMeetView.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java b/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java index da973d158..f60ecb864 100644 --- a/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java +++ b/android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java @@ -262,7 +262,7 @@ public class JitsiMeetView // the respective conference again if the first invocation was followed // by leaving the conference. However, React and, respectively, // appProperties/initialProperties are declarative expressions i.e. one - // and the same URL will not trigger componentWillReceiveProps in the + // and the same URL will not trigger an automatic re-render in the // JavaScript source code. The workaround implemented bellow introduces // imperativeness in React Component props by defining a unique value // per loadURLObject: invocation. diff --git a/ios/sdk/src/JitsiMeetView.m b/ios/sdk/src/JitsiMeetView.m index 0799ef0cb..658d44585 100644 --- a/ios/sdk/src/JitsiMeetView.m +++ b/ios/sdk/src/JitsiMeetView.m @@ -268,7 +268,7 @@ static NSMapTable *views; // conference again if the first invocation was followed by leaving the // conference. However, React and, respectively, // appProperties/initialProperties are declarative expressions i.e. one and - // the same URL will not trigger componentWillReceiveProps in the JavaScript + // the same URL will not trigger an automatic re-render in the JavaScript // source code. The workaround implemented bellow introduces imperativeness // in React Component props by defining a unique value per loadURLObject: // invocation.