Tony D’Addeo pfp
Tony D’Addeo
@deodad
has anyone ever used MessageChannel to handle communication between a parent and iframe? it seems like an elegant abstraction that can bring security advantages but it seems like everyone just uses postMessage
2 replies
1 recast
10 reactions

Manan pfp
Manan
@manan
Haven’t used it but it definitely seems like the better way. Still seems odd that you might have to use window.postMessage to exchange ports.
1 reply
0 recast
2 reactions

Joshua Salles pfp
Joshua Salles
@omghax.eth
How dare you ask such questions, get back to vibe coding!
1 reply
0 recast
1 reaction