This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-25
Channels
- # aws (2)
- # aws-lambda (2)
- # beginners (95)
- # boot (47)
- # cider (13)
- # clara (5)
- # cljs-dev (36)
- # cljsjs (9)
- # clojure (51)
- # clojure-austin (1)
- # clojure-greece (25)
- # clojure-italy (4)
- # clojure-japan (10)
- # clojure-russia (13)
- # clojure-spec (61)
- # clojure-uk (25)
- # clojurescript (26)
- # core-matrix (5)
- # cursive (8)
- # data-science (7)
- # datomic (43)
- # dirac (2)
- # emacs (8)
- # events (3)
- # fulcro (17)
- # graphql (29)
- # jobs-rus (4)
- # lambdaisland (4)
- # lein-figwheel (3)
- # leiningen (60)
- # luminus (15)
- # lumo (8)
- # mount (3)
- # off-topic (28)
- # om (22)
- # onyx (115)
- # other-languages (6)
- # pedestal (5)
- # re-frame (41)
- # reagent (12)
- # ring-swagger (12)
- # shadow-cljs (127)
- # unrepl (27)
- # yada (5)
Hey all, just wanted to share an early cut of a library i am working on. Re-surface: add structure to your reagent / re-frame apps at the page-level. https://github.com/gadfly361/re-surface
I love the demo - it kind of feels like an actual client meeting 🙂
Have you been using it for any projects yet or is it brand new?
@shaun-mahood brand new. I plan to use it in some projects though. The part that i am mostly interested in is seeing if describing a page by just data buys you what i hope it buys you. One thing in particular, all of the different possible page states will be enumerated and hopefully that means it should be easier to test / cycle through them ... as well as avoid random states by mistake.
From my brief look at it I think it's promising - at the very least it moves things from CSS into reagent which is a pretty huge win IMO. I'll be trying it on my next frontend project (though I've been working way more backend this year so that may be a while).
Awesome, let me know if you have any questions. Also, CSS-fu is a good thing to rely on if you have it! (I do not 😆)
Do you know if this will play well with re-com? Thanks
@U06C63VL4 I haven't tried it with re-com yet, but you should be able to put arbitrary components inside of re-surface so long as they don't affect the z-axis. So things like re-com's layers might get interesting. Looks like they are using really big z-indicies ... so likely work fine. (As an aside, re-surface is still settling on the z-indicies used, right now i am using low ones that increment by 1 ... however, i will like end up creating large gaps to allow people to put things in between as they see fit, just haven't figured out the best approach there).
Thanks for info/heads up
@shaun-mahood brand new. I plan to use it in some projects though. The part that i am mostly interested in is seeing if describing a page by just data buys you what i hope it buys you. One thing in particular, all of the different possible page states will be enumerated and hopefully that means it should be easier to test / cycle through them ... as well as avoid random states by mistake.
Is there a way that I can create view functions that follow the same optional props style that reagent uses?