As part of this, I also made it so that the form to create a new post will work even with javascript disabled. It just doesn't handle errors correctly if javascript is disabled. I'll create a separate issue for having the server render the posts page with an error.
There is still an issue when the url is invalid. error boundaries do not work in server side rendering. I'll create a separate issue for that,
Closes https://github.com/KyleJune/deno-tailwind-ui-react-example/issues/21
As part of this, I also made it so that the form to create a new post will work even with javascript disabled. It just doesn't handle errors correctly if javascript is disabled. I'll create a separate issue for having the server render the posts page with an error.
There is still an issue when the url is invalid. error boundaries do not work in server side rendering. I'll create a separate issue for that,