Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce scheduler serialization overhead (facebook#14249)
In the process of switching to MessageChannel, it seems the postMessage call was modified to pass `"*"` (originally the target origin value from `window.postMessage`). This actually ends up triggering serialization, whereas passing `undefined` bypasses. To save some investigation, passing a Number like `0` still incurs serialization overhead - `undefined` has special behavior.
- Loading branch information