Loading data from a remote server using vanilla Next.js