window.location.href not restored when closing details window
See original GitHub issueI’m using sectorjs as module in react electron app with hash router Spector opens results window on capture
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:
- Created 4 years ago
- Comments:10 (5 by maintainers)
Top 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 >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
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?Cool thanks.