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.

window.location.href not restored when closing details window

See original GitHub issue

I’m using sectorjs as module in react electron app with hash router Spector opens results window on capture

image window.location.hash === #/anomaly_gl/history which is right hash for captured page bu after clicking Close hash becomes #/. Since it is react hash router, this renders another page.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Zaitsevcommented, Nov 4, 2019

Offtop: is there any way to move spector to devtools tab like react and redux devtools did it. IMHO spectro IS devtool and having it there will allow to display results in-page and not spoil web-toolbar? image

1reaction
sebavancommented, Nov 4, 2019

Cool thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

window.location.href doesn't redirect
This may be the reason why the browser does not redirect. It will run the code in the function and then submit the...
Read more >
What is Window Location href in JavaScript?
The location object is a property of the window object in JavaScript. The location object holds the information about the current URL of...
Read more >
Javascript – window.location.href and window.open ...
window.location.href is not a method, it's a property that will tell you the current URL location of the browser. Changing the value of...
Read more >
Window.location - Web APIs - MDN Web Docs - Mozilla
The Window.location read-only property returns a Location object with information about the current location of the document.
Read more >
window open steps - HTML Standard - WhatWG
If platformObject is not a Window or Location object, then return. ... "href").set the value and its corresponding key in the map cannot...
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