I'm surprised anyone's using Next for static exports when they've left dynamic paths broken for years.
I recently migrated to Tanstack for this and confirm it's been strictly better so far, especially having dynamic paths in my use-case (makes a hybrid app much more realistic)