I never use getInitialProps or any built in initial props to fetch data, and use custom-hooks instead that work both on Next (SSR) and CRA(CSR). Am I missing something?
I never like the idea of "get this props/data" before your page loaded when doing SSR and have to explicitly call that on every single page. It defeats the purpose of reusable function.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I never use getInitialProps or any built in initial props to fetch data, and use custom-hooks instead that work both on Next (SSR) and CRA(CSR). Am I missing something?
I never like the idea of "get this props/data" before your page loaded when doing SSR and have to explicitly call that on every single page. It defeats the purpose of reusable function.