Skip to content

dangerouslyReplaceNodeWithMarkupByID uses getNode on an unmounted/purged ID #1569

Closed

Description

@syranide

Activity

  1. hejld commented on Nov 18, 2015

    @hejld
    Contributor

    This seems to be already fixed. The dangerouslyReplaceNodeWithMarkupByID no longer exist in current codebase (this was the original implementation: https://github.com/syranide/react/blob/520d73d73cbd46d8d1094b920b38604e31e77a5c/src/browser/ui/ReactDOMIDOperations.js#L161)

    Instead dangerouslyReplaceNodeWithMarkup is being exposed directly on ReactComponentBrowserEnvironment, see https://github.com/facebook/react/blob/master/src/renderers/dom/shared/ReactComponentBrowserEnvironment.js#L29

  2. sophiebits commented on Nov 18, 2015

    @sophiebits
    Collaborator

    Yeah, I rewrote all of this.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions