Firebase Realtime Database Listener Doesn't Re-Render when set inside of useEffect

后端 未结 0 1012
醉话见心
醉话见心 2020-12-15 07:22

When the user changes the activeChat state variable I am attempting to set a Firebase real-time database listener on the new chat key. When a new message is entered into th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题