From 529f8e5f32bf61cbb4e177d4fe8d58f768e8ce0f Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Mon, 10 Aug 2020 00:51:31 -0400 Subject: [PATCH] SubtreeRetainer: change docblock "this.props" to "this.attrs" --- js/src/common/utils/SubtreeRetainer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/common/utils/SubtreeRetainer.js b/js/src/common/utils/SubtreeRetainer.js index bb4e32ff7..7a42f9364 100644 --- a/js/src/common/utils/SubtreeRetainer.js +++ b/js/src/common/utils/SubtreeRetainer.js @@ -6,10 +6,10 @@ * @example * // constructor * this.subtree = new SubtreeRetainer( - * () => this.props.post.freshness, + * () => this.attrs.post.freshness, * () => this.showing * ); - * this.subtree.check(() => this.props.user.freshness); + * this.subtree.check(() => this.attrs.user.freshness); * * // view * this.subtree.retain() || 'expensive expression'