I have a page using the nextjs app router, using react-frame-component to render an mjml preview (client component, no ssr). Im setting the raw html preview from converting mjml to html into the initial content of the frame, but for some reason, when react renders the page with the iframe component, I get passed into the page an id param that is part of the payload of the iframe. That messes up data fetching as im relying on passing an id from another page as a url param
The problem
I have a page using the nextjs app router, using react-frame-component to render an mjml preview (client component, no ssr). Im setting the raw html preview from converting mjml to html into the initial content of the frame, but for some reason, when react renders the page with the iframe component, I get passed into the page an
id
param that is part of the payload of the iframe. That messes up data fetching as im relying on passing an id from another page as a url param