mattermost-mobile/app/components/post_list
Elias Nahum d84a0afd3a
Avoid unnecessary re-renders (#8673)
* Only set the height on the message component if it ends up being greater than the maxHeight to avoid re-renders

* Cache the teams theme to avoid unnecessary computation and re-renders

* useDidUpdate instead of useEffect to avoid setting the theme preference without need

* add comment on clear cache
2025-03-13 21:28:48 +08:00
..
combined_user_activity Fix join/leave messages not showing (#8396) 2024-12-06 07:46:15 +08:00
date_separator Update dependencies and upgrade to RN 0.76.5 (#8421) 2025-01-16 07:11:32 -07:00
more_messages Update dependencies and upgrade to RN 0.76.5 (#8421) 2025-01-16 07:11:32 -07:00
new_message_line Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
post Avoid unnecessary re-renders (#8673) 2025-03-13 21:28:48 +08:00
thread_overview Update dependencies and upgrade to RN 0.76.5 (#8421) 2025-01-16 07:11:32 -07:00
config.ts Remove unused INDICATOR_BAR_HEIGHT (#6519) 2022-07-29 08:14:46 -04:00
index.ts remove usages of isTimeZoneEnabled (#7769) 2024-01-30 13:22:55 +01:00
post_list.test.tsx fix(MM-62461): uploading image attachment shows new message (#8528) 2025-01-29 22:44:40 -07:00
post_list.tsx fix(MM-62461): uploading image attachment shows new message (#8528) 2025-01-29 22:44:40 -07:00
refresh_control.tsx Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
scroll_to_end_view.tsx fix(MM-62461): uploading image attachment shows new message (#8528) 2025-01-29 22:44:40 -07:00