Is there a demo video or some more detailed documentation on how to use Section Models? I’m sorely confused on the concept and how to actually use it. I’ve been over the Announcement Bar and Hero, but the example and code is woefully lacking in susbstance.
And how would I set up a Preview URL successfully for a Hero Section that belongs on a /blog/{{slug}} route?
I’m also still trying to figure out how I would have dynamic data be injected into my Section Model. For example, Product Detail Page with a Product Hero Section which includes a Hero component. I get the data based on the slug (dynamically) for the Product Page, I then want to use values from the response in my Product Hero.
Unfortunately, we currently do not have an app router example. However, it will be similar to the code provided below. You can modify it if needed and give it a try
Could you please provide a reproducible example repo so we can investigate and verify the code? If that is not possible, please share the builder integration code, and we will attempt to reproduce the error.
If this issue persists, could you please provide a reproducible example repository or the relevant builder integration code? This will help us better understand the problem and assist you more effectively.