I have two pages, settings and home.
the settings page is a client component and has a simple form calling an api route to mutate the user's username in the database.
on the home page, i'm using an async server component to load the user's username from database and give him a simple greeting
I'm unable to figure out how to use invalidatePath to purge the cache of the client side router so it can re-run the server-side component on the home page after mutating from the settings page.
Currently, if i mutate, the changes are not immediately reflected by the home page if i navigate to it (the old state is preserved and after some time on navigation it invalidates and gets the new data).