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.

Reconnecting if child reloaded

See original GitHub issue

I noticed that if I reload the page in the iframe the API is not re-established on neither side:

  • in parent there’s no event to listen to in order to call Penpal.connectToChild again (even if one should call it manually)
  • in child, even though the page starts again it can’t connect to already existing parent

It’s easy for the end user to break the experience by triggering child reload (one can always trigger it by using context menu element “Reload Frame” in Chrome for example). It’s also easy to break the experience for child: if it has to reload (for either reason) the whole thing just stops working

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
joshkgcommented, Nov 10, 2017

Excellent! Seems to be working! Will report any bugs I come across as we continue to test. Thanks!

0reactions
Aaroniuscommented, Nov 22, 2017

Published in 3.0.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reconnecting with your child when you're irritable.
1. Create safety with a "do over." If things have gotten tense between you, the first priority is always to restore a sense...
Read more >
Take Time to Reconnect After the Work Day
Reconnecting after being apart for a day is essential for working families, according to Jane Nelsen, EdD, in her 2005 article “Seven Ways...
Read more >
5 Tricks to Help You Reconnect With Your Inner Child •
If you want to reconnect with your inner child, take some time to play. Let go of your inhibitions, be silly, and let...
Read more >
Reconnecting With Your Child After Deployment - Blog
In this blog post, Clarity Child Guidance Center shares helpful tips for reconnecting with your child after deployment. Learn more here.
Read more >
Silently attempt automatic reconnect before displaying ...
If you don't click on any buttons it will disappear after about five seconds and reconnect anyway. This behaviour of displaying the popup ......
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