#getServerSideProps not working in client side

27 messages · Page 1 of 1 (latest)

opaque lake
#

@grim fog

#

here you have the guide to use the new data fetching methods

grim fog
opaque lake
#

are you using nextjs13¿

grim fog
#

13.0.1

opaque lake
#

ok wait I remember reading something in the guide

sour berry
#

its {data} not data in the props

opaque lake
#

true

#

xd

#

however try the new data feching api

#

is great

grim fog
sour berry
#
- export default function Home( data )
+ export default function Home( {data} )
grim fog
opaque lake
#

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

grim fog
grim fog
#

thnx btw