Skip to content

Unable to get full list of users using NextJs with pocketbase? #5010

Closed Answered by ganigeorgiev
rohitkrishna094 asked this question in Q&A
Discussion options

You must be logged in to vote

If you were able to get empty full list array before the hostname change then your issue is not related to that (and I recommend for local development to stick with 127.0.0.1 because of pocketbase/js-sdk#21).

What you are experiencing is probably the Next.js default cache and I'm getting really tired by this. For opting out please check "Opting out of Data Caching" but in any case this is not really a PocketBase issue, especially since you've confirmed that it works without Next.js. The JS SDK doesn't do any "finicky stuff with async-await" and uses whatever global fetch implementation is available.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ganigeorgiev
Comment options

Answer selected by rohitkrishna094
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants