getStaticProps: basic page

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

The page and the page's data are pre-rendered at build time. Both are served from Netlify's super fast CDN.
When navigating client-side, the page's JSON data is loaded.
When requesting this page directly, the pre-rendered page is loaded.

View code on GitHub

Show #151: The Newsroom

Type: Scripted
Language: English
Status: Ended
Premiered: 2012-06-24
Official Site:
Rating (average): 8.8

Go back home