I have requirement where i need to open a popup from main react application and this popup will have to have a seperate redux store from parent(its one more big application as good as parent application). Can we communicate between two?
Idea is to have this popup application as a node module and use in different pages as reusable component. So now i have coupe of questions
- can we have 2 redux stores created and make them communicate each other
- i saw something about maintaining sub apps, give here https://gist.github.com/gaearon/eeee2f619620ab7b55673a4ee2bf8400 . Can we maintain communication between the main app and sub app stores?
- How to maintain the router in a popup application, As the history back doesnt work in popup window. Any ideas here?
Would appreciate if you can share any live example.