We can probably do better by warning for static export opt-out when an empty object is returned from getInitialProps.
@Timer
Is redirecting in getInitialProps still a valid tip?
https://github.com/zeit/next.js/wiki/Redirecting-in-%60getInitialProps%60
Most helpful comment
@Timer
Is redirecting in
getInitialPropsstill a valid tip?https://github.com/zeit/next.js/wiki/Redirecting-in-%60getInitialProps%60