Just pushed another update to 1.0.0-SNAPSHOT of the combined library. I’ve been adding some more bootstrap wrappers. Just got modal mostly working. The dev guide has a nice demo of it that also shows a common (more advanced) composition: Having two orthogonal stateful components (with queries) where one needs to be pre-written, but allow another to be embedded within it.
The repository is here: https://github.com/awkay/untangled
You can clone it to run the devguide. There is a shell script that should work on OSX called run-devguide,sh.
The modal stuff is in the section N15_Twitter_Bootstrap_Components.cljs
. If you just want to read the source/comments, look here (lines 284+):
https://github.com/awkay/untangled/blob/ec713f37da91914aa2191c3048ef5e372b78452c/src/devguide/untangled_devguide/N15_Twitter_Bootstrap_Components.cljs#L284
it is up on clojars as well
for those who have worked with reagent/re-frame, can you suggest tradeoffs that it makes or potential pitfalls of its approach? I prefer untangled personally, but my team mates are leaning toward reagent/re-frame.
@uwo I wrote a more detailed response on #om 🙂
I know we have some users that ported to Untangled from a reagent-based system.
@currentoor ???
@tony.kay thanks!!!
Hi @tony.kay, what’s up?
Were you one of the ones that ported from reframe?
I’ve never used reframe/reagent
oh…hm. someone else I guess
@uwo check the clojurians archive for reframe comments in this channel
we’ve talked about it before
https://clojurians-log.clojureverse.org/untangled/index.html
oh. thanks. I didn’t know that you could go very far back in the slack archives. I thought they were autodeleted
thanks for the fantastic write up!
https://clojurians-log.clojureverse.org/untangled/2016-12-06.html
search for re-frame
You’re welcome. Yeah, I didn’t know about the archive for a long time either…
super-handy
How can I access app state from UntagledNetwork/send
? I was under impression that complete-app
in the legacy rest api example is used for that, but even if I set it in UntagledNetwork/start
, it is still nil
when UntagledNetwork/send
is called…