List Available Chat Rooms in Real-time in Next.js from Fauna
lessonDuration 5m 37sFree
We can add rooms but our application does not update and display rooms when a room is added. This should happen in real-time. To fix this we'll add a useEffect that will query for all our rooms and use fauna's `client.stream` API to ensure that this happens in real-time.