I have been using Nextjs for about a year now.
There are obvious differences between React and Nextjs.
When I was working with React the
UseEffect hook was one of the most useful hooks I used. Particularly if you wanted any data to be fetched from an API and loaded into your app when it is first rendered.
getServerSideProps, thereby doing away with the need of UseEffect.
That got me wondering...
Is there a use for UseEffect in Nextjs?
I would be so grateful for any resources that could help me answering this.