This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-17
Channels
- # aws (3)
- # beginners (104)
- # boot (11)
- # calva (3)
- # clj-kondo (1)
- # cljdoc (6)
- # cljs-dev (23)
- # cljsrn (1)
- # clojure (144)
- # clojure-dev (54)
- # clojure-europe (6)
- # clojure-italy (2)
- # clojure-nl (26)
- # clojure-spec (6)
- # clojure-sweden (1)
- # clojure-uk (13)
- # clojurescript (38)
- # core-async (9)
- # cursive (14)
- # data-science (3)
- # datascript (22)
- # datomic (17)
- # figwheel (1)
- # fulcro (4)
- # graphql (6)
- # hoplon (59)
- # jackdaw (2)
- # jobs (6)
- # jobs-discuss (44)
- # juxt (14)
- # leiningen (1)
- # luminus (3)
- # nrepl (3)
- # off-topic (12)
- # re-frame (24)
- # reagent (7)
- # reitit (7)
- # rewrite-clj (1)
- # schema (1)
- # shadow-cljs (37)
- # spacemacs (4)
- # sql (25)
- # testing (12)
- # tools-deps (11)
- # utah-clojurians (1)
^ I am with jumblerg on this, I think cordova is the best route currently available
I think there is value in creating a webcomponents implementation of hoplon so you could use things like ionic
or a hoplon-native wrapper
However I feel like hoplon already does what webcomponents was trying to do, templates, encapsulated state, html-imports, etc.
a webcomponents implementation of hoplon is a very interesting idea. i feel like that could pick up traction with the webcomponents crowd
like, the idea behind hoplon is awesome, but it does require you to buy into clojurescript
@dave my thought for wc version would be one that is generated from cljs
so you would include your cljs file the same way you would any other js dependency in a web app and then anything below that would have access to your web components
so you could build components in hoplon and then use them in other applications that aren't built in clojurescript? (react apps, etc.)
I imagine you could already use web components initialized via JS in any hoplon project
@flyboarder @dave do you think it is something that would be long to make ? because if there is path from hoplon to native, that would be great.
@jouerose I recommend going with the Cordova approach for the fastest implementation time, @jumblerg already provided a boot task
@flyboarder thanks
Mobile apps are the reason I don't use Hoplon as much these days. I came to re-frame/reagent/react-native. 😞 It's good but I liked Hoplon better.
also there are some problems with the architecture, mostly around the importing and so on
@micha wc are alive and well, html-imports have been removed in favour of a new html-modules, which builds on es-modules
the rest of the standard is now in Firefox and will be in MS Edge once it switches to the chromium engine
Safari now has partial support
so it will come eventually, but it’s going to be a slow process
I think having a way to generate web components from hoplon components would give us the best future-proofing
Interestingly, custom elements are now in the HTML standard and a few bits in the DOM standard
yeah, seems the shadow dom, custom elements, html templates and some css things related to those are all upstreamed now
html-modules is the only thing being reworked and not yet agreed on
yep they are standard now
I kinda get modules, since google is pushing for progressive web apps over native
you dont want a multi GB html file
agreed
yeah that would be my way of doing it, but the web is run by designers…..
thats the goal i believe
yeah but they are also removing the ability to disable tracking from chrome, ie and firefox so im not stoked on that
will have to see what other browser takes some serious market share
brave browser?
one step at a time, google makes money of tracking people