Glad you enjoyed the article. If you think about it, every advice I give is actually good old software engineering that can be applied using any framework (I just happened to be using Vue.js at the moment and wanted to provide tips on how to achieve it using this technology).
Nice article. I had come to many similar conclusions myself.
A few of the caveats that I listed around custom middleware were that if you wanted to take advantage of using features like cancellation, throttling, and debouncing, then you’d need to manually handle that, otherwise custom middleware provides lots of flexibility.
Thanks for the feedback. Actually originally I only used JSDoc for creating HTML documentation. But that was before TypeScript, etc. After VSCode came along with builtin support for type analyzation through JSDoc, I started exploring how to take full advantage of it for type checking.