Replies: 2 comments 5 replies
-
For that kind of matter, open an issue. |
Beta Was this translation helpful? Give feedback.
-
Do you mean
Can you share a more detailed example of how your data is being fetched?
You can add it once to a parent element and it will apply to all child elements that are anchor tags. |
Beta Was this translation helpful? Give feedback.
-
We're used to the new file standards and spending a lot of time figuring out where the problem is: in +page.ts or +page.ts. Oh, may be in +page.ts?
ok ate it
The largest and biggest trouble of the Svelte Kit project - is incorrect rendering work. Unfortunately, I can’t use the framework after the last global changes at all. Damn.
Look the case:
I have such structure
/about/page1
/about/page2
...
I have page /[url]/+page.svelte
load url
...
const url: string = params.url;
...
and then call api
... await fetch(
api/${url}
, ...Switching between pages, the content does not change. Why??? I tried update caches, send dynamic params. Nothing. Only one thing was helpfull is render = false.
It was damn solution, but it was solution.
There is no more render parameter and nothing works now.
How to reload data? i want to have ability set param - reload api data or not
if i ll set params to reload - it should always reload.
I do not want manually add a million times data-sveltekit-reload. It's awfull
And i do not want reload all data, menu and so on. I need reload just exactly content. Set one param
await fetch(
api/${url}
, headers, {reload:true}`)Please, solve this problem. I can't upgrade version higher than 449
Beta Was this translation helpful? Give feedback.
All reactions