Closed abdullahmorrison closed 2 years ago
When subscribing to the board to check for a bingo, I want to dispatch the bingo action, but that causes an infinite loop because the dispatch creates a new stream which checks if there is a bingo and dispatches the same action.
Assignees: @abdullahmorrison Labels: bug
Solved with a throttle (kind of hacky)
created improved solution by refactoring the observable
When subscribing to the board to check for a bingo, I want to dispatch the bingo action, but that causes an infinite loop because the dispatch creates a new stream which checks if there is a bingo and dispatches the same action.
Assignees: @abdullahmorrison Labels: bug