Skip to content

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