zeit 2.0 / vercel compatible site
0
stars
3
forks
source link
example eventjuicer-site-components site
getInitialProps receives a context object with the following properties:
- pathname - path section of URL
- query - query string section of URL parsed as an object
- asPath - String of the actual path (including the query) shows in the browser
- req - HTTP request object (server only)
- res - HTTP response object (server only)
- jsonPageRes - Fetch Response object (client only)
- err - Error object if any error is encountered during the