Skip to content

Conversation

smeng9
Copy link

@smeng9 smeng9 commented Jan 13, 2025

Summary

@yungsters @javache

Fix comments in #29662 (comment)

Hi @yungsters, we have encountered issue that such keys does not exist.

Our use case is as follows, we use microfrontend where some part of code is built with production flag and loaded through https://github.com/Paciolan/remote-component and some other part of the code is used in development mode.

Production code in react does not have private variables like _store and when cloning it certainly has problem.

Please check for the existences of _store.

How did you test this change?

React 18 does not have such issue, and upgrading to react 19 should behave the same when doing development.

Screenshot 2025-01-13 at 3 09 37 PM

@yungsters
Copy link
Contributor

I submitted #32117, which also includes a unit test.

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

Successfully merging this pull request may close these issues.

3 participants