How to catch exception thrown in `getInitialProps` in `_error.jsx`
I really want to throw an exception in my page getInitialProps and catch it in my _error.jsx page. It does seem to work client-side, where I do get the exception in context.err, but it does not work service side. When the exception is thrown there, the err is null. Why is this?…
What's the recommended way to use an SVG as the favicon in a Next.js app?
I have a logo as an SVG, and I'd like to use it as the favicon in my Next.js app. Is there a recommended way to do this? And/or any useful libraries that's easy to configure with Next.js? The aim is that I don't want to manually have to convert this SVG into various favicons and…
Was hoping to better understand the flow of how getInitialProps work
I'm trying to get the apolloClient in getInitialProps much similar to with-apollo-auth example with nextjs but noticing it never appearing. As I put debuggers around, I also noticed the getInitialProps runs first before it even goes to the withApollo function which can be the…