Skip to content
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

Fiber cleanup fixes #2

Draft
wants to merge 1 commit into
base: 17.0.2
Choose a base branch
from
Draft

Fiber cleanup fixes #2

wants to merge 1 commit into from

Conversation

sgoodfriend
Copy link

A transcription of
https://slack-github.com/slack/react/compare/v16.11.0; however, Quip's version of React has ReactFiberCommitWork.new.js and ReactFiberCommitWork.old.js. The old.js files required adding commitUnount implementations for other React HostConfigs (Noops seemed to be fine for all of them).

To test these changes: https://github.com/quip/quip/blob/master/static/js/ext/react/README.quip.md

TODO:

  1. Verify this fixes the fiber leak: https://app.slack.com/client/T5J4Q04QG/threads?multi_team=1#:~:text=to%20have%20a-,fiber%20leak,-that%20also%20holds

A transcription of
https://slack-github.com/slack/react/compare/v16.11.0; however, Quip's
version of React has ReactFiberCommitWork.new.js and
ReactFiberCommitWork.old.js. The old.js files required adding
commitUnount implementations for other React HostConfigs (Noops seemed
to be fine for all of them).

TODO:
1. Verify this fixes the fiber leak:
   https://app.slack.com/client/T5J4Q04QG/threads?multi_team=1#:~:text=to%20have%20a-,fiber%20leak,-that%20also%20holds
@fongandrew
Copy link

I suspect we only have to update the old code path since the new is only enabled behind a flag, but doesn't hurt either way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants