HACKER Q&A
📣 Igor_Wiwi
Is it possible to embed iframe partially?
I have a react application and a blog post on the same page, and I want to embed only the app
👤 efortis
Accepted Answer ✓
In the page with the blog+app, conditionally render the blog when it's not on an iframe.
if (!window.frameElement) renderBlog()
👤 meiraleal
HN is not stackoverflow
👤 pestatije
{display: none} the blog