This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-27
Channels
- # aleph (2)
- # beginners (19)
- # boot (15)
- # cider (1)
- # cljsrn (1)
- # clojure (68)
- # clojure-austin (12)
- # clojure-dev (2)
- # clojure-france (6)
- # clojure-italy (46)
- # clojure-russia (45)
- # clojure-spec (55)
- # clojure-uk (41)
- # clojurescript (117)
- # component (15)
- # cursive (54)
- # datomic (24)
- # events (2)
- # funcool (1)
- # instaparse (4)
- # klipse (30)
- # lein-figwheel (3)
- # leiningen (4)
- # luminus (4)
- # om (10)
- # onyx (13)
- # parinfer (36)
- # proton (1)
- # reagent (1)
- # ring (2)
- # ring-swagger (1)
- # rum (19)
- # test-check (6)
- # testing (9)
- # untangled (1)
Did anyone (reading this) use rum for hybrid app development?
ok, sorry, hybrid mobile applications. Using plain html5/css/js for mobile applications.
There are frameworks out (like Ionic, OnsonUI), but I don't seem to like them much.
I do like rum, but I just wonder how it would turn out for mobile.
... and if someone used it, if there are any experience reports.
I tend to like experience reports 🙂.
ok, thanks...
not really rum, is it? - Did you use it @misha?
oh yeah, it is...
nice!
you will not see sablono's keyword tags anymore, though, but other than that - it's identical:
(set! js/window.React (js/require "react"))
(def ReactNative (js/require "react-native"))
(def text (partial create-element (.-Text ReactNative)))
(def view (partial create-element (.-View ReactNative)))
(rum/defc foo [txt]
(view {:style {:padding 20}}
(text {:style {:fontSize 10}} txt)))
cool, nice.
allright, thanks a lot!
It's cool, re-natal, only, I don't get why there's a different source for iOS and Android in the initial project... It looks really pretty much the same, except for the namespace. Is there any reason to duplicate the code?