This Lesson is for PRO Members.

Subscribe today and get access to all lessons! Plus direct HD download
for offline use, member comment forums, and iTunes "podcast" RSS feed.
Level up your skills now!


Already subscribed? Sign In

Leverage Next.js' getInitialProps lifecycle hook to load individual posts

In this lesson, we’ll continue scaffolding out the page responsible for display each blog post (/blog/:id). Specifically, we’ll leverage Next.js’ getInitialProps lifecycle method to grab the specific id for the blog post and see how we can pull this value out of the query object defined within our custom server.

Please take a moment to tell your friends:

You must be a PRO Member to view code