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

docs: add documentation for useRequestFetch #23423

Closed
3 of 4 tasks
warflash opened this issue Sep 27, 2023 · 2 comments
Closed
3 of 4 tasks

docs: add documentation for useRequestFetch #23423

warflash opened this issue Sep 27, 2023 · 2 comments

Comments

@warflash
Copy link
Member

warflash commented Sep 27, 2023

Describe the feature

Saw the useRequestFetch composable being used in the edge todo example https://github.com/Atinux/nuxt-todos-edge/blob/main/composables/session.ts#L16C39-L16C54 but couldn't find any documentation on it.
I think it'd be nice to include what it does and what it's for.

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

@manniL
Copy link
Member

manniL commented Sep 27, 2023

It will use event.$fetch on the server and $fetch on client. AFAIK, the former ensure that the fetch of the platform is used (e.g. cloudflare worker's fetch).

@danielroe
Copy link
Member

This would be great. Let's track in #19815.

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

No branches or pull requests

3 participants