This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-12
Channels
- # announcements (10)
- # babashka (26)
- # beginners (113)
- # calva (75)
- # cider (7)
- # clj-http (1)
- # cljdoc (2)
- # cljfx (3)
- # cljs-dev (13)
- # clojure (79)
- # clojure-europe (21)
- # clojure-losangeles (2)
- # clojure-nl (4)
- # clojure-sweden (1)
- # clojure-uk (23)
- # clojureladies (4)
- # clojurescript (26)
- # clojureverse-ops (2)
- # conjure (2)
- # cursive (2)
- # data-science (1)
- # datalog (6)
- # datomic (1)
- # degree9 (2)
- # depstar (4)
- # esprit (3)
- # fulcro (25)
- # introduce-yourself (2)
- # jobs (3)
- # lsp (30)
- # meander (38)
- # missionary (9)
- # nbb (7)
- # news-and-articles (2)
- # off-topic (28)
- # pathom (46)
- # polylith (19)
- # re-frame (4)
- # reitit (2)
- # sci (8)
- # shadow-cljs (23)
- # specter (17)
- # spire (1)
- # tools-deps (16)
- # unrepl (1)
- # xtdb (30)
Hi there! I am eager to playing around with ink. I don't understand what the :>
is doing in the example given on the github-page for nbb... Pointers would be appreciated.
:>
is a Reagent way of saying that you want to render a React component with JS args
it's documented here: https://github.com/reagent-project/reagent/blob/master/doc/InteropWithReact.md
nbb + ink + rot.js = cljs roguelike. seems like a match made in heaven.
@borkdude what do you think about this: https://github.com/mauricioszabo/tbd/blob/deref-promises/test/nbb/main_test.cljs#L143-L150 ?
It's an idea to make deref await for promises (it makes them seem sync). I know that the current implementation I did is probably too slow (as sci.impl.analyzer/return-call
is a generated code so that it's faster for multiple arities, I suppose for performance reasons), but maybe we can find a way to make it faster if you think it's a good feature to have 🙂
Opening up another thread about the check
library 🙂