question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
koenpuntcommented, Apr 14, 2019

I regarded the original question as rather hostile.

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.

3reactions
robbestadcommented, Apr 14, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found