You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following the tutorial https://nextjs.org/learn, which calls sql with postgress queries. How can useSWRinfinite be used with this? useSWRinfinite takes getKey as a parameter, which returns a url, but in the example no url is called, postgress is just queried directly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I was following the tutorial https://nextjs.org/learn, which calls sql with postgress queries. How can useSWRinfinite be used with this? useSWRinfinite takes getKey as a parameter, which returns a url, but in the example no url is called, postgress is just queried directly.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions