you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 8 months ago (1 child)

Agree with this explanation. Also in a monorepo it's much easier to reference code between modules and I think this leads to too much coupled code. It takes more discipline to limit the scope of modules.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 8 months ago*

    that’s a good and bad thing though…

    it’s easy to reference code, so it leads to tight coupling

    it’s easy to reference code, so let’s pull this out into a separately testable, well-documented, reusable library

    my main reason for ever using a monorepo is to separate out a bunch of shared libraries into real libraries, and still be able to have eg HMR

  • source
  • parent