This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-04-08
Channels
- # announcements (1)
- # asami (4)
- # babashka (5)
- # biff (9)
- # calva (26)
- # cider (4)
- # clojure (23)
- # clojure-art (6)
- # clojure-europe (5)
- # clojure-japan (1)
- # clojure-norway (1)
- # clojurescript (11)
- # datomic (7)
- # emacs (26)
- # hoplon (3)
- # hyperfiddle (1)
- # inf-clojure (1)
- # introduce-yourself (5)
- # nyc (34)
- # podcasts-discuss (1)
- # releases (1)
- # shadow-cljs (9)
- # tools-deps (11)
I am pretty new to Everything Clojure related so i am sorry if this is a stupid questions, but is there a way to use Clojurescript without Reagent/Re-Frame therefore without React?
BTW you can use CLJS without Reagent and re-frame but with React - there are some wrappers, and there's always interop (albeit in the case of React the interop would get quite tedious and wordy).
Web/MX is a new cljs option that avoids React. See #CKCBP3QF9 channel for more info on that. I think there have been a few other non-React options over the years...?
By chance I am writing an article about this today! Still WIP but for if you want very basic Clojurescript with no framework at-all: http://readtheorg.xylon.me.uk/rr_clojurescript_lein-cljsbuild.html
1. I once did a snazzy Web app utility for work: a Clojure app serving Hiccup-generated HTML over a wire. 2. I could have sworn I saw a starter shadow-cljs project that was just Hiccup/HTML, but I cannot find it after a short search. 3. And I myself am just now documenting/polishing what is actually a fairly mature library that just does HTML, but it also involves an all-encompassing reactive (not React!) layer. Great fun, but maybe not what you want. Live overview is here https://kennytilton.github.io/web-mx-quickstart/#/, the lib itself here: https://github.com/kennytilton/web-mx#readme 4. Any interest in Clojure_Dart_? And Flutter? The CLJD crew has nice support for Flutter, and I have ported web/mx to Flutter/MX: https://github.com/kennytilton/flutter-mx That is having a couple months of bit rot cleaned up -- well, CLJD dashed ahead while was not looking, and then I will be doing more doc/tutorials with that. Have fun! ps. #CVB8K7V50 might be worth a look.
Btw, pending better doc, if @U01EENTKD0C or anyone would like help onboarding either web/mx or flutter/mx just DM me and we'll you get going.
Not my thread but wow, didn't know about these things @U0PUGPSFR. Maybe I'll try one out since I ran into a lot of problems when I tried reagent/re-frame.
"wow, didn't know about these things" Heh-heh, @U043HLWSYUQ, not your fault! I only recently decided to hawk my MX-wrapped UIs, and I still need to write more doc. Reagent/re-frame are splendid but, after a couple contracts supporting systems built on them, and after a closer look at Vuex and SolidJS, I thought MX might have something important to add to the state management conversation. I made one unsatisfactory attempt at a Web/MX https://github.com/kennytilton/mxweb-trainer, starting another tomorrow based on Flutter/MX. The interestiing things to grok are the same web, flutter, or react/rn (POC only), so as long as one is just reading either works. Feel free to DM if you get stuck!
Anyone have any suggestions for implementing a typeahead input, preferably with fuzzy matching, over a statically known list of options? external lib, react lib, acceptable. Thanks for everyone's insight