element-web/test/unit-tests/components/views/avatars
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__ Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
DecoratedRoomAvatar-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MemberAvatar-test.tsx Improve performance of RoomContext in RoomHeader (#28574) 2024-12-02 09:49:52 +00:00
RoomAvatar-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
WithPresenceIndicator-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00