element-web/test/unit-tests/components/views/messages
Michael Telatynski b87437d439
Improve performance of RoomContext in RoomHeader (#28574)
* Improve performance of RoomContext in RoomHeader

This allows a component to subscribe to only part of the RoomContext so they do not need to re-render on every single change

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Prettier

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add comment

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-12-02 09:49:52 +00:00
..
__snapshots__ Standardise icons using Compound Design Tokens (#28217) 2024-11-18 15:47:15 +00:00
shared Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
CallEvent-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
DateSeparator-test.tsx Remove usage of legacyRoot in RTL tests (#28485) 2024-11-20 18:09:51 +00:00
DecryptionFailureBody-test.tsx Update the display of decryption failures due to failed trust requirement (#28300) 2024-11-04 12:46:38 +00:00
DownloadActionButton-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
EncryptionEvent-test.tsx Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
JumpToDatePicker-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
LegacyCallEvent-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MBeaconBody-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MessageActionBar-test.tsx Improve performance of RoomContext in RoomHeader (#28574) 2024-12-02 09:49:52 +00:00
MessageEvent-test.tsx Add mimetype checks 2024-11-11 15:44:33 +00:00
MessageTimestamp-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MFileBody-test.tsx Improve performance of RoomContext in RoomHeader (#28574) 2024-12-02 09:49:52 +00:00
MImageBody-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MKeyVerificationRequest-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MLocationBody-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MPollBody-test.tsx Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
MPollEndBody-test.tsx Remove usage of legacyRoot in RTL tests (#28485) 2024-11-20 18:09:51 +00:00
MStickerBody-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MVideoBody-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
PinnedMessageBadge-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
ReactionsRowButton-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
RoomPredecessorTile-test.tsx Improve performance of RoomContext in RoomHeader (#28574) 2024-12-02 09:49:52 +00:00
TextualBody-test.tsx Replace legacy Tooltips with Compound tooltips (#28231) 2024-10-18 14:57:39 +00:00