Nextjs server actions does not work with revalidatePath
I'm struggling with basic data refreshing on a simple next14 app directory page.tsx. Basically this is all code taken from https://docs.convex.dev/client/react/nextjs/server-rendering#server-actions-and-route-handlers.
/src/app/testpage
Everything works quite well. The workspace is created, but the page data does not refresh when using revalidatePath. I'm wondering what could be causing this problem and does it work for anyone else? And will it be possible to revalidate the queries using the next tags?
I can add that I tried using
preloadQuery and usePreloadedQuery. Then everything works and refreshes.But it would be nice however to use revalidate method.
