getServerSideProps: basic page

This page uses getServerSideProps() to fetch a TV show from an API.

getServerSideProps() never runs on the client.
When navigating client-side, getServerSideProps() runs inside a Netlify Function. The resulting JSON data is used to render this page.
When requesting this page directly, the entire page is rendered server-side by a Netlify Function.

View code on GitHub

Show #263: Last Week Tonight with John Oliver

Type: Talk Show
Language: English
Status: Running
Premiered: 2014-04-27
Official Site:
Rating (average): 7.8

Go back home