79148994

Date: 2024-11-01 18:11:59
Score: 3
Natty:
Report link

@pavlo-sobchuk's comments helped me identify the issue and solve it by a simple application of useShallow() like this: const chatMessages = useChatStore(useShallow((state) => state.getMessages(channel?.id)));

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @pavlo-sobchuk's
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
Posted by: ajmurmann