How can Reactjs reflect data changes made with server actions?
I have a server component ChatList, that fetches data from the database and displays it: // server component import Link from "next/link"; import db from "@/prisma"; export const ChatList = async () => { const chats = await db.chat.findMany(); return…