I tried to implement this in react, I used React Query for fetching and mutating messages.
I disabled caching because it shows the previous messages when you switch between different chat rooms.
You can Join any Chat Room, each one is related to a certain topic.
⚡️ React Query for data fetching ⚡️ Supabase Auth for authentication ⚡️ Provider pattern for Authentication ⚡️ TailwindCSS for styling
📌 Any opinion or improvement is welcome, https://twitter.com/aymanedev