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
@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
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.
is this right?
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 @ingesol