newbie here,
The code Im learning from this and I also find almost every _app.js have this line code too.
class Name extends App {
render() {
const { Component, pageProps } = this.props;
const config = { some config here };
return (
<AppProvider config = { config }>
<Component {...pageProps} />
</AppProvider>
);
}
}
I know that <Component {...pageProps} /> part represents all other pages. And when I navigate page it change in pageprops.
It just I don't know how it call other page?