#getServerSideProps not working in client side
27 messages · Page 1 of 1 (latest)
here you have the guide to use the new data fetching methods
but why the getserverside is not working??
are you using nextjs13¿
ok wait I remember reading something in the guide
its {data} not data in the props
sry btw im fetching 10000 + images so the page is opening slow what should i have to try insted if this??
page system?
- export default function Home( data )
+ export default function Home( {data} )
it is now old what about infinite scroll??
but in back you make an page system
so everytime the user is near the bottom you request another page
or if the fetch is not the problem
you only divide the array
something like that
or try putting loading lazy to images
yes i already try that but it is old so im assuming that infinite scroll fix it for me iirc