Subscription notification order question
See original GitHub issueThis is maybe a naive question. But I was looking at the Subscription
code and specifically thinking about this comment https://github.com/reactjs/react-redux/blob/master/src/utils/Subscription.js#L1-L3
If the goal is to ensure that children are notified after parents, could that be accomplished by an event emitter that notifies in the opposite direction? Like, if the event emitter added listeners to the beginning of the list rather than pushing them on the end? And if that was true would it eliminate the complexity of the nested subscriptions?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Subscription Notification Order | Apple Developer Forums
Hi,. Is it possible for server-to-server notifications to be sent out of order? Or, is it safe to assume that Apple will guarantee...
Read more >Subscription-based notifications
Subscription -based notifications enable users to proactively subscribe to items that interest them and unsubscribe from messages that are not mandatory.
Read more >A subscription notice appears when I open a Microsoft 365 ...
If you see a notice to buy, renew, or reactivate your Microsoft 365 subscription when you open Word, Excel, or any other Office...
Read more >Why am I receiving a renewal notification? | Thomson Reuters
Email notification for subscriptions with an upcoming auto-renewal. ... For any questions about your renewal, please contact your Sales representative or ...
Read more >How do I implement a notification/subscription solution? [closed]
... users to subscribe to selected questions, so that they receive notifications (using the Message Stack) when Questions receive Answers.
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
@markerikson sure, I am just saying that the hardest part of state mgmt to wrap my mind around in react is what it means to actually connect the components to updates, especially when those components are nested, or worse, if the components care about some of the same events but not the others.
So in a way, I use redux less because of redux architecture itself, and more because react-redux provides a way to connect to redux. In other words, I find myself adopting redux structures (reducers, actions, middleware) not because I want to express my application state that way, but because if I do, I can take advantage of this connector, knowing that it already takes care of things like @jimbolla points out above.
@skiano : not quite sure I follow what you’re saying there. Can you clarify?