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

useFetch does not type initialCache #20759

Closed
2 of 4 tasks
BananaAcid opened this issue May 10, 2023 · 4 comments
Closed
2 of 4 tasks

useFetch does not type initialCache #20759

BananaAcid opened this issue May 10, 2023 · 4 comments

Comments

@BananaAcid
Copy link

Describe the feature

Bildschirmfoto 2023-05-10 um 14 35 06
  • Operating System: Darwin
  • Node Version: v18.3.0
  • Nuxt Version: 3.4.3
  • Nitro Version: 2.3.3
  • Package Manager: npm@8.11.0
  • Builder: vite
  • User Config: telemetry, modules, app, vue
  • Runtime Modules: -
  • Build Modules: -

Additional information

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

Final checks

Copy link
Member

initialCache is not a supported option since v3.0.0-rc.14: nuxt/framework#8885.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2023
@BananaAcid
Copy link
Author

@danielroe .. but still works and solves the problem with having no results in a useFetch ... is there any alternative?

(first useFetch call does not work, $fetch does, but does not have the features as useFetch)

@danielroe
Copy link
Member

danielroe commented May 10, 2023

It does not have any effect on your useFetch call. There is no longer any code in Nuxt that respects this option.

@BananaAcid
Copy link
Author

@danielroe any alternative to the initalCache option?

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

2 participants