In the beginning, there were servers.

The servers roamed the wild, waiting for clients and their connections, and when a server received a connection it would pounce. The servers liked the connections and held on to them, guarding them closely.

Thus the traditional web app was born.

But the clients grew tired of the servers, which were needy and somehow both clingy and flakey.

“Give us back our connections!” cried the clients, “On our terms!”

“We will just stop by to grab all the things when we need them,” the clients went on, “that’s really all we need.”

Thus the single page application was born.

But the clients grew lonely. They had no one to tell their secrets to, and no one to help rearrange the furniture.

“Maybe we could work out a friends with benefits kind of thing?” mused the clients.

The servers were into it.

Thus Next.js was born.

#nextjs

How Does a Website Get its Data, and Why Does it Matter?
1.35 GEEK