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:
- Is it possible to add a configuration like
watch
to automatically build whenever the source code of the React project is modified? - Can I add my personal project to the mono-repo structure of the React project to use
react
andreact-dom
dependencies without usingyarn link
?
If anyone knows how to achieve this, I would greatly appreciate your guidance.
Thank you!
Top comments (0)