This repro is quite convoluted but it's the best I could extract. It seems like numerous things need to happen to trigger this bug. To reproduce:
- Open https://codesandbox.io/s/great-wildflower-mv89b and wait a second
- Observe that there is only one "Hello" (for UB). Normal update got stuck.
- Also notice how clicking "wake up" (which schedules a dummy update) will let the other updates "come through".
You may need to tweak the timing of CPUSpin component if this doesn't repro for you.
This repro is quite convoluted but it's the best I could extract. It seems like numerous things need to happen to trigger this bug. To reproduce:
You may need to tweak the timing of CPUSpin component if this doesn't repro for you.