Running local fork during app development? #231
-
Hi! I forked the repo in an attempt to debug a chart I want to add to my app but I can't seem to get everything running smoothly. Reproduction steps:
This creates the symlink correctly and my app compiles but when I try to render the chart I get a Would moving Bonus suggestions: Why not build the project into a single Thanks for answering! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This has more to do with yarn/npm/webpack's difficulty with symlinking resulting in multiple react copies. It's difficult to get around regardless of how you set things up. You'll notice that the simple example uses rescripts and has a few manual build workarounds to get rid of this issue. It's annoying to say the least. You could start by looking there. |
Beta Was this translation helpful? Give feedback.
This has more to do with yarn/npm/webpack's difficulty with symlinking resulting in multiple react copies. It's difficult to get around regardless of how you set things up. You'll notice that the simple example uses rescripts and has a few manual build workarounds to get rid of this issue. It's annoying to say the least. You could start by looking there.