Fork me on GitHub

When using the Inspect Stream window, is there a way to get the path to the current object within its context?

Jakub Holý (HolyJak)17:10:19

what inspect stream? You mean in shadow-cljs? I would ask in #shadow-cljs


True. Thanks.

Jakub Holý (HolyJak)19:10:03

Hello, dear friends! I am preparing my Fulcro workshop for re:Clojure (December 1st, 3-5pm UTC) and I have made a short intro that I am going to talk the participants through. What do you think about it? 🙏 Here:


I think it's a great intro. It took me a few passes, but that second diagram you have (from the Minimalist Tutorial) was very helpful in moving my understanding along when my intuition felt a bit stuck. Once I understood that pull-then-push composition - how Root pulls the queries from all its children and then pushes the query result data back out to them - as shown in the diagram, things kinda clicked for me.

🙏 1

It may be useful to provide further context that fulcro can run without a backend just using http calls to APIs you don't manage yourself. If the intended audience are people already in the clojure world you could add points of contrast to re-frame which I would assume some of the audience would be familiar with. One example: in re-frame you will eventually need to spend time thinking about such problems as described in this lengthy article: in fulcro - indeed you will need to spend time learning the db concepts (ident, norm, denorm etc), but then you will get the "best practices" listed in that article "for free" - and even better practices, because the best practices there don't describe what happens with nested entities (an arbitrary graph)..

Jakub Holý (HolyJak)08:10:05

Hi @U051V5LLP, thank you. You make some good points. However I struggle with time here, since this is a workshop and I thus want to keep the talking part as short as possible. I will have a look at re-frame and see whether there are some places in the exercises where comparing the two would help the participants.


If I have a dashboard that has sections that have subsections how do I prevent the all that data to be loaded at top level df/load, do I dynamically set the query?

Jakub Holý (HolyJak)21:10:12

The common solution to that is dynamic routers. Other than that, you can use load! with :without See 3. and 4. under