import React, { Component } from 'react' import Link from 'next/link' let count = 0 export default class SelfReload extends Component { static getInitialProps ({ res }) { if (res) return { count: 0 } count += 1 return { count } } render () { return (
Via Link Via A Page URL Via Empty Hash Go to item 400 Go to name item 400

COUNT: {this.props.count}

{Array.from({length: 500}, (x, i) => i + 1).map(i => { return
{i}
})} {Array.from({length: 500}, (x, i) => i + 1).map(i => { return
{i}
})}
) } }