Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3392576
D3877.id12117.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
272 B
Referenced Files
None
Subscribers
None
D3877.id12117.diff
View Options
diff --git a/web/chat/chat.react.js b/web/chat/chat.react.js
--- a/web/chat/chat.react.js
+++ b/web/chat/chat.react.js
@@ -17,4 +17,6 @@
);
}
-export default Chat;
+const MemoizedChat: React.ComponentType<{}> = React.memo<{}>(Chat);
+
+export default MemoizedChat;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 1, 9:15 AM (20 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2604527
Default Alt Text
D3877.id12117.diff (272 B)
Attached To
Mode
D3877: [web] Memoize `Chat` component
Attached
Detach File
Event Timeline
Log In to Comment