How to check iframe in RSC?
Unanswered
New Guinea Freshwater Crocodile posted this in #help-forum
New Guinea Freshwater CrocodileOP
How do I check if I'm in an iframe in NextJS RSC? I would usually compare window.top === window.self, but I don't have access to window in RSC