import React from 'react' import Link from 'next/link' export default class AsyncProps extends React.Component { static async getInitialProps ({ query: { id = 0 } }) { return { id } } render () { return (
{this.props.id}