This free video course over at Egghead forms a nice introduction to both Next.js and the Notion API. In this course, you will learn how to pre-render static pages with data from the Notion API. We will cover querying page, block and database data, as well as updating properties with mutations, and some helpful techniques …
Tag Archives: next.js
Next.js + Apollo + Server Side Rendering (SSR)
Interesting video from the CodePen podcast in which Shaw goes over this approach to SSR with Next and Apollo: A probably-better approach is to use the getDataFromTree method, which walks down the tree and executes the queries to fill up the ApolloClient cache. Create a shared ApolloClient instance Render the page using getDataFromTree() to fill …
Continue reading “Next.js + Apollo + Server Side Rendering (SSR)”
10 Next.js Tips You Might Not Know!
Next.js can do a lot for you — which means there’s features you probably haven’t used! This video covers ten tips you might not know about Next.js.