Hello thanks for the reply. However, what I meant to say is to check within the slice zone for a particular slice and add content after it before rendering the rest of the slices.
I also realise this is quite an anti-pattern so while I'd still like to figure this out I'm also looking for another design structure.
Currently what I'm doing is destructuring props.slices and filtering for the slice before calling <SliceZone /> and passing in a custom props object
Like you've seen this isn't possible. The only way to do this would be to have a placeholder Slice, which you can use to pull in your non-Prismic component.
What is the exact type of content you wish to insert?
Thanks.
samlittlefair
(Sam Littlefair)
closed , flag & select 'Something Else' to reopen.
8
This thread has been closed due to inactivity. Flag to reopen.