Open james2406 opened 5 years ago
Sounds good to me! Please do! Could you share a bit more about your use case so I understand?
I have a similar need for this; we have an application that uses a plugin interface where separately-hosted React apps are loaded in iframes.
Being able to debug the selectors from within the iframe would be very useful.
As a side note: I can't run these plugins without the parent application due to the plugins needing authentication information, which they can only get from the parent window.
It looks like reselect-tools do not work if
registerSelectors
is called from an iframe. redux-devtools supports iframes through theisInIframe
function: https://github.com/zalmoxisus/redux-devtools-extension/search?q=isInIframe&unscoped_q=isInIframeI would be more than happy to work on a PR for this if that's okay with you.