Move the code dealing with saving and loading data to server/database to gather it all up into one place.
h3 doesn't correctly handle unexpected stream closures, bypass h3 and operate directly on the Node.js ServerResponse object to handle them.
Nuxt is based on Vue.js and I find their building blocks to be much neater compared to the React based Next.js.