[ReportActionsView] Isolate view/render logic from the "unread business logic" #8829
Labels
Engineering
Improvement
Item broken or needs improvement.
Internal
Requires API changes or must be handled by Expensify staff
Weekly
KSv2
Problem
ReportActionsView
has grown in size and has many responsibilities which can make it hard to reason about. There is logic that is primarily related to rendering the list of messages in a chat mixed together with several other things e.g.It's a lot.
Solution
Move the stuff related to FlatList and anything that can be separated from the more complicated logic related to setting an "unread" message out of the
ReportActionsView
and into aReportActionsList
component that will simply render the chat list.The text was updated successfully, but these errors were encountered: