-
Notifications
You must be signed in to change notification settings - Fork 15
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
How to provide fetch function to storyblok? #279
Comments
We will investigate the options provided from storyblok/js and keep you posted, thank you for your patience. |
Hasn't this actually been solved in the meantime? From what I can see, the possibility to provide a |
What @Radiergummi says is true, that there is an option to provide a custom fetch function now. But this seems to be buggy (at some point they used Not sure if these dependencies should be marked as peer dependencies as you'd have to install them manually then, but at least we could have all fixes right away...? 😕 Is there some automated release process which takes care of this? I'm trying to figure out whether I need to create a patch for myself or whether I can wait for a release to happen 😅 |
The way SvelteKit does hydration is by caching the result of any
fetch
call. There is no obvious way to provide this fetch function to the apiPlugin.Please either add the possibility to do so, or document it. (This will also result in less http requests hitting your servers).
The text was updated successfully, but these errors were encountered: