function CircularJSONErrorPage() {
return
This won't render
}
CircularJSONErrorPage.getInitialProps = () => {
// This creates a circular JSON object
const object = {}
object.arr = [object, object]
object.arr.push(object.arr)
object.obj = object
return object
}
export default CircularJSONErrorPage