How to switch between local or Hex dependency?

A further perk of the doggo approach that hasn’t been mentioned is that it makes it much easier to keep the demo in sync with the tag/ref/release of the library. It also encourages maintaining the demo. Almost every demo not included directly inside the library that I’ve tried ended up being broken after a surprisingly short period of time, as the maintenance of the demos tends to get deprioritized when in a separate repo.

Also, it’s totally possible to have multiple demos with the doggo approach. Just nest them or namespace them.

1 Like

Ya, I wasn’t clear on this—I actually have multiple in mine (two) and it’s only annoying as it adds to the grepping madness. Of course it’s simple to mitigate in different ways and you get used to it pretty quickly, it just adds another a thing you have to think about.

EDIT: I meant “I wasn’t clear on this.” Fixed.

1 Like