Daniel's Weblog
Posts About
Tags Colophon
Posted on

Yalc is a better alternative to npm link. At work we package some React code in to Node modules to share them between our internal applications. This often involves updating the modules and then immediately testing them in an application running locally. According to the npm documentation the way to do this is via npm link but I’ve always struggled with it.

I’m not going to describe my issues in details because other people have encountered the same set of problems:

I wish I could give credit to my introduction to yalc but I can’t recall at this point. I strongly recommend it if you’re struggling with npm link.