Fork me on GitHub
#reitit
<
2019-05-28
>
dangercoder16:05:46

Has anyone managed to get Reitit to play nicely with Component?

dangercoder17:05:07

I just got it to play nicely.

lilactown17:05:46

how'd you do it?

dangercoder17:05:07

Actually, I need to solve the "Reload-workflow" issue first. But I think it is minor issue, maybe not. So not 100% nicely yet. I will share my code once that works as well! @lilactown. But my endpoint is at least working atm.

dangercoder20:05:55

Not sure how to solve this one. Component gives me some nice structure (enforcing scoping) but I can't "Live code" my routes anymore without re-starting stuff

dangercoder21:05:26

perkele. I just realised this is how life is when you use Component.

jvtrigueros21:05:35

I know this doesn't help you now, but I've switched from using Component to mount, and things get a little simpler.

dangercoder21:05:24

yeah I guess I could give Mount another shot

dangercoder21:05:46

It felt a bit Dirty to use Mount though, to me it was so "Easy" to just reference a Global var and boom you have hidden dependencies. @U0JAE119P

jvtrigueros21:05:44

You're right, it's very easy to head down that path, so I would say that's a downside. Sadly.

kardan04:05:33

We been very happy with Integrant & Duct

dangercoder16:05:43

I looked a bit at integrant and decided integrant is nice. Now I just use the (reset) command 🙂

kardan17:05:41

We use it at work and I really like it