Currently, I am utilizing Next.js with AMP functionality enabled. For more information, check out: https://nextjs.org/blog/next-8-1
However, I have encountered an issue where any JavaScript included in my React code is only executed on the server side and then removed for the client-side.
I came across a different Stack Overflow post that suggests it is possible to run custom JavaScript within an <iframe>...</iframe>
element.
This has sparked my curiosity - how exactly can this be achieved? Any insights would be greatly appreciated.