robbestad / react-iframe

Simple solution for using iframes in React
ISC License
434 stars 79 forks source link

What's the difference with just using `<iframe ... />`? #38

Closed koenpunt closed 5 years ago

koenpunt commented 5 years ago

I'm trying to understand why anyone would use this library, where they can simply use a plain <iframe />.

What does this library do, apart from wrapping the iframe in a PureComponent, and limiting support to only the defined properties?

robbestad commented 5 years ago

For convenience. You you can wrap it up yourself and do the things this lib does yourself, sure. As with most things.

søn. 18. nov. 2018 kl. 14:40 skrev Koen Punt notifications@github.com:

I'm trying to understand why anyone would use this library, where they can simply use a plain