Whats the best way to store and act with growing array #304
Answered
by
ai
ivan-suhorukov
asked this question in
Q&A
-
Hello! Sorry for my stupid question, maybe. I want to store the chat messages. And it is an array of messages. What is the best way to store it? In atom or map or deepMap maybe? And i want to add messages in store while user types them, so whats the best way to do it? |
Beta Was this translation helpful? Give feedback.
Answered by
ai
May 14, 2024
Replies: 1 comment 2 replies
-
I suggest have |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ivan-suhorukov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suggest have
atom()
with chat history and separated atom with typing messagedraft