DEV Community

fdad915fb681bbdca046
fdad915fb681bbdca046

Posted on

Is there a way to add and check a personal project within a cloned React project?

Hello,

I cloned the React repository from GitHub to study React.

I successfully installed and built React in my local environment following the instructions on this guide.

Using the steps outlined in this section, I configured my personal project to reference the built files of react and react-dom dependencies through yarn link.

However, this method requires me to rebuild the React project every time I modify its source code, which is a bit inconvenient.

Here’s what I’m looking to explore:

  1. Is it possible to add a configuration like watch to automatically build whenever the source code of the React project is modified?
  2. Can I add my personal project to the mono-repo structure of the React project to use react and react-dom dependencies without using yarn link?

If anyone knows how to achieve this, I would greatly appreciate your guidance.

Thank you!

Top comments (0)