Best practices for a chat application #182
Unanswered
michaelpomogajko
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I'm using the emoji-keyboard for a chat app.
I want to possibly place emojis on every chat bubble.
The most comfortable way would be to render an emoji-keyboard for every message, so it's colocated and I don't have to pass callbacks around, but I fear this might have performance implications.
Right now I've lifted the emoji-keyboard to the flatlist component, so it's only rendered there, and passing callbacks to the messages.
Any experience whether there's a performance hit when rendering the emoji keyboard for every messages?
What's the best practice there?
Best,
Michael
Beta Was this translation helpful? Give feedback.
All reactions