bartosz.malkowski
09/15/2021, 2:54 PMConfigurationScreen
and ConversationsScreen
should be Component with their own stores, intents and results. For example ConversationsScreen
state will have state containing selectedChannel
.
The question is: does MessageHistoryWithInput
should be Component with their own store (containing: loaded message list), own intents (SendMessage
, LoadedMessageList
) etc?
How to embed this component inside ConversationsScreen
component?
Does anyone has any example?Arkadii Ivanov
09/15/2021, 3:36 PMConversationsScreen
screen by multiple sub-components. E.g. ConversationList
and Conversation
components, and encapsulate them in a parent component Messenger
. The Conversation
component can be also split by ConversationMessages
and ConversationInput
sub-components. Everything of-course depends on complexity of each component.bartosz.malkowski
09/15/2021, 5:41 PM