Run the development server:
yarn install && yarn dev
- Go to
http://localhost:3000/chat
- Type in
Message #4
- After clicking submit, the page will redirect to the specific message url (ie.,
http://localhost:3000/chat/eR4pMgx1iPVuXsKDoYju
)
- After clicking submit, the page will redirect to the specific message url (ie.,
- Observe that the main area changes but the sidebar doesn't update
- However, it will update when you manually refresh the page on the browser (shortkey:
Ctrl+R
) - Also notice that the sidebar data actually reloads with the latest message (as per server console.log
Sidebar.chats.latest ...
), but the UI just doesn't update
- However, it will update when you manually refresh the page on the browser (shortkey:
- Repeat by inputting
Message #5
- Main area updates, but the sidebar does not
- How to fix???