om

Please ask the channel first, not @dnolen directly!
dehli 2017-08-01T01:10:18.231914Z

is the best way to locally dev for om next the devcards boot task?

rarous 2017-08-01T05:00:01.746175Z

@roklenarcic they have to be locally unique in subtree. But the key has to be the same for the same item after sort or something. You can use sequential indexes like map-indexed.

rarous 2017-08-01T05:01:36.763906Z

@dehli there is no “best way”, always depends on your needs.

dehli 2017-08-01T11:24:28.625986Z

So I just want to try to make changes to the om.next framework and see how it affects created components. Unfortunately I'm having a difficult time figuring out how to locally build om.next/run the examples

wilkerlucio 2017-08-01T12:11:14.525716Z

@dehli use lein install to install the Om locally, then you can just use it as a regular lein dependency on other project

2017-08-01T12:14:58.605854Z

@wilkerlucio That's the workflow I use. I asked last week in #clojurescript if there was a better way but no response. It can be annoying running lein install all the time and restarting the repl.

wilkerlucio 2017-08-01T12:15:47.623777Z

@danielstockton there are 2 other, one is trying to use lein checkouts: https://github.com/technomancy/leiningen/blob/master/doc/TUTORIAL.md#checkout-dependencies

wilkerlucio 2017-08-01T12:16:13.632634Z

but I wasn't able to make it work properly with CLJS... with Clojure worked great for me

wilkerlucio 2017-08-01T12:16:45.644650Z

but if you need to do fast-iteration, maybe to debug something on your code, a simpler way that worked for me is to just copy the namespace you want to override into your project

wilkerlucio 2017-08-01T12:17:07.652575Z

if you have the namespace duplicated (on dependency and on your project) your project one will have precedence, so you can work as if it was part of your project

2017-08-01T12:17:27.659761Z

Oh, both great tips, thanks.

wilkerlucio 2017-08-01T12:18:46.688051Z

no problem 😉

dehli 2017-08-01T12:34:44.059531Z

Thanks so much! I'll give that a go