First, run the development server:
# start p2p relay
yarn server
# start UI dev server
yarn dev
There are some potential edge case from HMR
- Open the app in multiple browswer tabs
- Create a new user in one tab
- See
User A
entered chat - Enter message from new user
- See message appear in both windows