joschan21 / breadit

Modern Fullstack Reddit Clone in Next.js 13 & TypeScript
1.06k stars 261 forks source link

fix: prevent unnecessary page fetching on every scroll #28

Open YunisAslan opened 1 year ago

YunisAslan commented 1 year ago

Prevent unnecessary page fetches on every scroll and user will not have to wait for a loading state every time. (line 66)

Changed the double quotes just because I used Prettier :D.