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

https://api.tvmaze.com/shows/263

Type: Talk Show
Language: English
Status: Running
Premiered: 2014-04-27
Official Site: http://www.hbo.com/last-week-tonight-with-john-oliver
Rating (average): 7.9


Go back home