keechma

Keechma stack. Mention @U050986L9 or @U2J1PHYNM if you have any questions
mihaelkonjevic 2018-05-04T06:01:49.000036Z

@loganpowell hello and welcome! I personally use lein on all my projects but IIRC @mjmeintjes is using shadow-cljs

2018-05-04T10:49:41.000123Z

@mihaelkonjevic thank you for the warm welcome. It's a true pleasure to be greeted by the creator himself! I've gotten in touch with Matt and will be using his template for my exploration (starting today)!

2018-05-04T11:29:50.000293Z

If you don't mind, I will post my questions here unless you would prefer me to put them on stackoverflow, github or somewhere else. Just let me know. First question: I'm looking around the docs for keechma toolbox and noticed that if I click on the same link twice (e.g., <https://keechma.com/api/keechma-toolbox/keechma_toolbox_dataloader_subscriptions/>) the page is reloaded even though the URL didn't change. I read on the controllers docs (https://keechma.com/guides/controllers/) that "If the previous value [returned from the URL Controller Manager] was not nil and the current value is not nil but those values are same, it won't do a thing". What's causing the rerender?

mihaelkonjevic 2018-05-04T12:16:16.000100Z

@loganpowell I’m not sure if you’re asking about the http://Keechma.com site, but that site is a static build, it’s not using Keechma since it’s not a web app

mihaelkonjevic 2018-05-04T12:16:45.000127Z

If you’re interested in Keechma app that’s deployed I’d recommend https://gothinkster.github.io/clojurescript-keechma-realworld-example-app/#!login

mihaelkonjevic 2018-05-04T12:16:57.000046Z

you can find the codebase here: https://github.com/gothinkster/clojurescript-keechma-realworld-example-app

2018-05-04T12:19:36.000229Z

Ah, I see. Thanks for clarifying. So the actual router is a server-side service not a client side service

mihaelkonjevic 2018-05-04T12:32:36.000234Z

it’s not really a server-side service, it’s a bunch of HTML files 🙂

2018-05-04T12:40:14.000438Z

Gotcha, static site served one page request at a time

👍 1
2018-05-04T12:43:14.000143Z

Ok, one more question 🙏 are there any tutorials online? I'm looking in the "Guides," but I was hoping to find a simple step-by-step for a bare-bones setup somewhere... Something like this one for reagent: http://lotabout.me/orgwiki/reagent.html

2018-05-04T12:52:39.000471Z

oh, just found your annotated source examples. I think I'll start there

mihaelkonjevic 2018-05-04T12:57:10.000397Z

@loganpowell there is a lot of stuff in https://keechma.com/news/ - but if there’s anything unclear please ask here and I’ll try to answer asap

2018-05-04T12:58:44.000397Z

@mihaelkonjevic Thank you sir. You are both a generous and patient genius 🙂

2018-05-04T13:04:06.000282Z

Loved this: - Why (are we rendering this UI)? - because the data is present in the AppDB - Why (is this data present in this AppDB) - because controllers placed it in there - Why (did the controllers place this data in the AppDB) - because they were started - Why (were these controllers started) - because their params functions returned the non nil value - Why (did the controllers' params function return the non nil value) - because the route contained the data these controllers were interested in