This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-01
Channels
- # babashka (30)
- # beginners (80)
- # calva (21)
- # chlorine-clover (2)
- # cider (22)
- # clj-kondo (65)
- # cljfx (2)
- # cljs-dev (3)
- # cljsrn (3)
- # clojure (37)
- # clojure-europe (27)
- # clojure-italy (3)
- # clojure-nl (2)
- # clojure-taiwan (1)
- # clojure-uk (21)
- # clojurescript (13)
- # conjure (23)
- # core-typed (1)
- # cursive (16)
- # datahike (1)
- # datomic (6)
- # docs (2)
- # emacs (5)
- # figwheel-main (1)
- # fulcro (12)
- # helix (11)
- # jobs (2)
- # jobs-discuss (2)
- # leiningen (1)
- # lsp (34)
- # luminus (1)
- # malli (19)
- # microservices (1)
- # nrepl (1)
- # off-topic (25)
- # pathom (6)
- # polylith (47)
- # practicalli (5)
- # re-frame (8)
- # reagent (1)
- # reitit (1)
- # releases (2)
- # remote-jobs (2)
- # reveal (1)
- # sci (1)
- # shadow-cljs (11)
- # sql (8)
- # tools-deps (9)
- # xtdb (16)
Hi all, can anyone share an example repo showing how to implement nested routing in reframe and reitit? Something like: posts/post where there is something like an outlet that renders the post fragment? Trying to have a list of posts on the left, you click and show the details of the selected post on the right.
A bit tricky to know exactly what you are looking for, but this might be similar https://github.com/ingesolvoll/kee-frame-sample
It’s not a minimal example, but it should contain a simple version of what you’re asking for
@U21QNFC5C thank you. Going to look through this. What I was able to find yesterday were a few examples of using reitit’s controllers to update the db with a sub route, and then allow the mounted component to handle nesting
definitely more powerful than a fully baked outlet system found in a full fledged framework like ember or angular, but seems like people just roll their own solution in clojure so a bit more boilerplate seems to be needed.
Can’t give a definitive answer to this particular thing, but in general that seems very right. Clojure would definitely be more powerful, while requiring more initial effort, than something like angular.
Thank you @U21QNFC5C