What's the difference with just using `<iframe ... />`?
See original GitHub issueI’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?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Using Iframes vs Scripts for Embedding Components
In this article, I have discussed the differences between Iframes and scripts with pros and cons each has over the other. While Iframes...
Read more >What is an iFrame: Definition and Example - Hostinger
An iFrame is short for Inline Frame, it is a HTML document used to embed interactive media. Let's look at iFrame and how...
Read more >The ultimate guide to iframes - LogRocket Blog
Because an iframe offers an isolated environment, this means that the focus or the selection is never lost when you are clicking outside...
Read more >Types of iFrames and When to Use Them - Clean.io
An iFrame, also knowns as Inline Frame, is an element that loads another HTML element inside of a web page. They are commonly...
Read more >What Is an iFrame? (And How to Use Them) - YouTube
In today's video, we learn about iFrames and how to use them. ... elegantthemes.com/blog/wordpress/ what-is -an- iframe -and-how-to- use -them➡️ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The only reason why you would think so is because apparently it is true; this library doesn’t provide any value over using a normal iframe.
But my question initially was out of interest, I was wondering if I maybe missed a special case.
Marketing this lib in that it has typescript types is not much added value either, given the fact that the html iframe tag already has types.
I think in general this library is misleading for newcomers to the ecosystem, and it could do better in actually explaining what this library does, and how people could go without.
I’m sorry you don’t understand the point of this repo.i advise you to avoid it and use something else. I further advise you to spend your time searching out other libs you don’t like or agree with and ask them to provide alternatives.