DoServerThing
Server: Not doneLoading slow things...
- The SlowComponent reloads the first time a server action that runs revalidatePath is called.
- The form state does not update the first time the action is run. See console log for state logging in the browser.
- This is only a problem when both a loading.tsx file is present and revalidatePath is called.
- Second time onwards, the form state updates correctly, and the slowcomponent does not reload.
- Source code for this example: https://github.com/shaunchurch/next-loading-revalidate-refresh-issue