ArchitectureWhat is the best way to sync a Redux store between two environments that can only communicate using postMessage? I see a huge number of options here https://github.com/markerikson/redux-ecosystem-links/blob/master/store.md#synchronization but does anyone recommend one in particular or should I roll my own? I think I could just use middleware that sends a postMessage to the other environment for each action, and the other environment recieves it and dispatches the action. My app is a VSCode extension ChatGPT clone. The UI is in a webview inside an iframe which can only communicate with the host extension using postMessage. The extension host needs to be the source of truth but I want to be able to access the store and dispatch actions from either environment and have it apply to both automatically. About
Initial Setup
Running Locally
Press Install Extension Locally
Misc
|