Closed negprof closed 10 months ago
Update: I found out, that only hard reloading the next.js site makes the updatet storyblok content appear. I think there is somewhere a caching bug on the next.js side.
@negprof
At the moment our temporary fix would be to set cach invalidation to the cirrent Timestamp inside ´storyblokApo.get('cdn/stories/home', {version: 'draft', cv: Date.now()})`.
@gandalf92 hey thanks. This works partially. What I done is that I deleted my space and restartet from scratch. I think it was a bug inside storybloks side. Thanks all!
Hello,
the issue came back on a diffrent fresh space. The iFrame inside the visual editor blinks shortly with the changed content, and than it shows the old content. only hitting the save button makes the new content appear again.
Probaly this issue: https://github.com/storyblok/storyblok-react/pull/883
Hey @negprof ! Thanks for reporting, I've just merged the PR you mentioned. You should be able to use the SDK properly now.
Regarding the cache issue (it is a different one), we are working on a fix for that as well. It is being worked directly inside the js-client : https://github.com/storyblok/storyblok-js-client/pull/727
Feel free to open this issue or create a new one if you face any issues.
Hi there!
You're missing the { cache: "no-store" }
param when using full RSC.
Change your call to:
storyblokApi.get(
cdn/stories/industries/${slug}, sbParams, { cache: "no-store" });
This is missing in the README steps, will PR to add it.
Hello,
I'm encountering issues with the visual editing feature. Despite following the tutorial closely, I'm unable to pinpoint any errors in my approach.
I've attached my code for review. Is there something I might have overlooked? Any assistance would be greatly appreciated, as we are eager to integrate Storyblok into our business operations.
When changing for example the Hero Blok, it´s not getting refreshed inside the live editing.
Thank you.
app/industires/[slug]/page.js
components/storyblok/StoryblokProvider
components/storyblok/Hero
Reproduction
/
Steps to reproduce
No response
System Info
Used Package Manager
npm
Error logs (Optional)
No response
Validations