tshaddix / webext-redux

A set of utilities for building Redux applications in Web Extensions.
MIT License
1.22k stars 179 forks source link

Add portName to 'storeReady' message #253

Closed sokki closed 4 years ago

sokki commented 4 years ago

First of all: thank you so much for this library ❤️

We have multiple redux stores that we want to sync. That works mostly great with the portName parameter. But we run into race conditions regarding the storeReady message: Whatever store is ready first, triggers a storeReady for all stores because the storeReady did not take the portName into consideration.