I've manually tested this on deploy and at the moment it does not behave as an SPA after initial load due to main.js not being served correctly via oak's response.send command. That's because response.send currently uses Deno.stat which is unavailable on Deno Deploy. Below is an issue on the oak repository tracking this issue.
Closes https://github.com/KyleJune/deno-tailwind-ui-react-example/issues/6
I've manually tested this on deploy and at the moment it does not behave as an SPA after initial load due to main.js not being served correctly via oak's response.send command. That's because response.send currently uses Deno.stat which is unavailable on Deno Deploy. Below is an issue on the oak repository tracking this issue.
https://github.com/oakserver/oak/issues/416