re-frame

https://github.com/Day8/re-frame/blob/master/docs/README.md https://github.com/Day8/re-frame/blob/master/docs/External-Resources.md
az 2021-06-01T19:27:01.060100Z

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.

ingesol 2021-06-02T14:38:54.060200Z

A bit tricky to know exactly what you are looking for, but this might be similar https://github.com/ingesolvoll/kee-frame-sample

ingesol 2021-06-02T14:39:11.060500Z

It’s not a minimal example, but it should contain a simple version of what you’re asking for

az 2021-06-02T16:24:34.060700Z

@ingesol 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

az 2021-06-02T16:26:47.060900Z

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.

az 2021-06-02T16:33:21.061100Z

is this right?

ingesol 2021-06-02T17:18:30.061300Z

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.

az 2021-06-02T21:13:26.061700Z

Thank you @ingesol