Too Long; Didn't Read
A frontend developer should be able to define what data is needed for a given page, without having to worry about how the data actually gets into the frontend.
That's what a friend of mine recently said in a discussion. Why is there no simple way to universal data fetching in NextJS? To answer this question, let's have a look at the challenges involved with universal data fetching in NextJS.
But first, what actually is universal data fetching?
Disclaimer: This is going to be a long and detailed article.
It's going to cover a lot of ground and will get quite deep into the details.