Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallback props... #2

Open
3rma1 opened this issue Feb 2, 2022 · 0 comments
Open

Fallback props... #2

3rma1 opened this issue Feb 2, 2022 · 0 comments

Comments

@3rma1
Copy link

3rma1 commented Feb 2, 2022

Edger, thanks for these helpers!

Would it be possible to pass fallback data to the useGetEntries like you would in useSWR?

If I query data on server and pass id down through props and pass it to useGetEntries() as a fallback so it won't need to make another call initially.
Not sure if there is some magic behind the scenes that merges the fetched on the server using getEntries() with the local data from useGetEntries().

Thanks,

Ermal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant