• 1.0-japan-m9, 1.0-m10, 1.0-m12, 1.0-pre-beta-1

      This is apparent when attempting to use a component that uses refs, multiple React instances appear to be introduced, at least during development. Unclear if it is actually being caused by development tools or not.

      tscherler first reported this as:
      You can not use any dependency that uses @refs since of duplicate Reacts.

      https://gist.github.com/scherler/2e3b0f6a8ea6116846d5e5e7420bc3a5

      This branch shows an example of the problem: https://github.com/kzantow/blueocean-plugin/tree/victory-failure

          [JENKINS-35727] Unable to bundle react component libraries

          Tom FENNELLY added a comment -

          tscherler Can you please give a proper description of what the problem is?

          Tom FENNELLY added a comment - tscherler Can you please give a proper description of what the problem is?

          Thorsten Scherler added a comment - - edited

          I created a branch with the steps of the gist applied.

          You can start

          npm run storybook

          to see in localhost:9001 the morphing svg.

          When you see localhost:8080/bo you will find another thing and in the console an error

          Thorsten Scherler added a comment - - edited I created a branch with the steps of the gist applied. You can start npm run storybook to see in localhost:9001 the morphing svg. When you see localhost:8080/bo you will find another thing and in the console an error

          Tom FENNELLY added a comment -

          Someone should add info about "@refs" ... what's that? Some react thing?

          Tom FENNELLY added a comment - Someone should add info about "@refs" ... what's that? Some react thing?

          Keith Zantow added a comment -

          Yes, refs in react are a way to create named children for a component. tfennelly.

          Keith Zantow added a comment - Yes, refs in react are a way to create named children for a component. tfennelly .

          Tom FENNELLY added a comment -

          Tom FENNELLY added a comment - https://facebook.github.io/react/docs/more-about-refs.html

            kzantow Keith Zantow
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: