twinejs icon indicating copy to clipboard operation
twinejs copied to clipboard

2.4: "Can't perform a React state update on an unmounted component" warnings

Open webbedspace opened this issue 3 years ago • 1 comments

These warnings appear in the console during use. I can reproduce this by opening a passage editor (I used one that had the alpha Chapbook's toolbar) then closing it. Not sure how important these are or anything. image

Twine version number

2.4.0-beta3

Does this problem occur with the web version of Twine or the desktop app?

Web

What operating system does this problem occur on?

Windows

Presubmission checklist

  • [ ] I am interested in working on code that would fix this bug. (This is not required to submit a bug report.)
  • [X] I have done a search and believe that an issue does not already exist for this bug in the GitHub repository.
  • [X] I have read and agree to abide by this project's Code of Conduct.

webbedspace avatar Apr 16 '22 13:04 webbedspace

I think it's tied to the Popper component used for these popups trying to do an update after the button is unmounted, but I'm not 100% sure. In my experience so far these warnings are good to clean up, but not showstoppers.

klembot avatar Apr 23 '22 15:04 klembot