Skip to content

fix: monkey patched node was cloned#913

Merged
AndyOGo merged 1 commit intodevelopfrom
bugfix/monkey-patch
Apr 12, 2019
Merged

fix: monkey patched node was cloned#913
AndyOGo merged 1 commit intodevelopfrom
bugfix/monkey-patch

Conversation

@AndyOGo
Copy link

@AndyOGo AndyOGo commented Apr 12, 2019

Fixes #778
Should also handle #859

Changes proposed in this pull request:

  • Fixes monkey patching breaks react refs by cloning new nodes

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@AndyOGo
Copy link
Author

AndyOGo commented Apr 12, 2019

fix-react-dynamic-children

@raphaellueckl raphaellueckl removed their request for review April 12, 2019 08:48
Copy link
Contributor

@LucaMele LucaMele left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @AndyOGo i wont have time to test so please only merge if u can fix related bugs after merging

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.

dynamic custom elements loose react refs, never connect and do not update props

2 participants