Original link: How to Build Reusable Architecture for Large Next.js Applications / freeCodeCamp().
I can't comment as I do not do Next.js!