Home  >  Q&A  >  body text

javascript - How to implement cross-project page display in React

I am doing outsourcing, it is a react project. Another part of the project is being done by other companies. Now Party A needs the entire two projects into one project. In order to maintain the confidentiality of the source code, I refuse.
Then the question is, how to merge two react react-router projects into one project when the two codes are independent?
Option one, set a jump in my project, click to jump to another project;
Option two, copy his code to my side, and then transform it;
Option three, two We develop two projects together, and others can see my code.
Obviously, the third option is to shoot directly, confidentiality; the second option, the amount of modification is too large; the first option, the jump is very weird;

Are there any other good solutions? No iframe

phpcn_u1582phpcn_u15822711 days ago482

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-05-19 10:23:47

    First place.
    Just need to do some joint debugging

    reply
    0
  • PHP中文网

    PHP中文网2017-05-19 10:23:47

    The key question is whether you have the same page with both what you do and what they do, so that you can determine the appropriate solution

    reply
    0
  • Cancelreply