-
Notifications
You must be signed in to change notification settings - Fork 49.9k
Disable Just Noticeable Difference heuristic #15423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c25c59c resulted in bugs during internal testing. I don't know why yet, but removing the Just Noticable Difference heuristic was sufficient to fix/hide the bugs again. In the interest of fixing this downstream quickly, let's revert it and land it again once we've figured out the root cause.
|
|
|
ReactDOM: size: -0.1%, gzip: -0.2% Details of bundled changes.Comparing: 9ebe176...d77d230 react-dom
react-art
react-native-renderer
Generated by 🚫 dangerJS |
102d07f to
b88c058
Compare
| }); | ||
| }); | ||
|
|
||
| // TODO: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unrelated; deleting because I noticed it and they are outdated.
bvaughn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think w e normally would revert the commit that landed this change, but since the scheduler refactor landed in between, that would be more difficult.
|
Closing because I found a proper fix. Will open a new PR. |
|
Actual fix landed in: #15424 |
c25c59c resulted in bugs during internal testing. I don't know why yet, but removing the Just Noticeable Difference heuristic was sufficient to fix/hide the bugs again. In the interest of fixing this downstream quickly, let's revert it and land it again once we've figured out the root cause.
Specially, what I've done is this PR is revert
computeMsUntilTimeoutto what is what in the last known non-buggy commit:react/packages/react-reconciler/src/ReactFiberScheduler.new.js
Lines 1818 to 1833 in 3e2e930