Просмотр исходного кода

ref(sdk): update comments to exclude mention of componentWillReceiveProps

master
Leonard Kim 7 лет назад
Родитель
Сommit
d5fb2c2717
2 измененных файлов: 2 добавлений и 2 удалений
  1. 1
    1
      android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java
  2. 1
    1
      ios/sdk/src/JitsiMeetView.m

+ 1
- 1
android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java Просмотреть файл

262
         // the respective conference again if the first invocation was followed
262
         // the respective conference again if the first invocation was followed
263
         // by leaving the conference. However, React and, respectively,
263
         // by leaving the conference. However, React and, respectively,
264
         // appProperties/initialProperties are declarative expressions i.e. one
264
         // appProperties/initialProperties are declarative expressions i.e. one
265
-        // and the same URL will not trigger componentWillReceiveProps in the
265
+        // and the same URL will not trigger an automatic re-render in the
266
         // JavaScript source code. The workaround implemented bellow introduces
266
         // JavaScript source code. The workaround implemented bellow introduces
267
         // imperativeness in React Component props by defining a unique value
267
         // imperativeness in React Component props by defining a unique value
268
         // per loadURLObject: invocation.
268
         // per loadURLObject: invocation.

+ 1
- 1
ios/sdk/src/JitsiMeetView.m Просмотреть файл

268
     // conference again if the first invocation was followed by leaving the
268
     // conference again if the first invocation was followed by leaving the
269
     // conference. However, React and, respectively,
269
     // conference. However, React and, respectively,
270
     // appProperties/initialProperties are declarative expressions i.e. one and
270
     // appProperties/initialProperties are declarative expressions i.e. one and
271
-    // the same URL will not trigger componentWillReceiveProps in the JavaScript
271
+    // the same URL will not trigger an automatic re-render in the JavaScript
272
     // source code. The workaround implemented bellow introduces imperativeness
272
     // source code. The workaround implemented bellow introduces imperativeness
273
     // in React Component props by defining a unique value per loadURLObject:
273
     // in React Component props by defining a unique value per loadURLObject:
274
     // invocation.
274
     // invocation.

Загрузка…
Отмена
Сохранить