This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-27
Channels
- # announcements (1)
- # aws (10)
- # babashka (53)
- # calva (133)
- # clj-kondo (46)
- # cljdoc (6)
- # cljs-dev (33)
- # clojure (105)
- # clojure-boston (1)
- # clojure-europe (11)
- # clojure-nl (4)
- # clojure-poland (1)
- # clojure-switzerland (6)
- # clojure-uk (13)
- # clojurescript (106)
- # cursive (1)
- # datascript (2)
- # emacs (13)
- # events (1)
- # figwheel-main (4)
- # fulcro (17)
- # graphql (8)
- # heroku (2)
- # honeysql (8)
- # lsp (76)
- # luminus (30)
- # malli (12)
- # meander (23)
- # music (1)
- # nextjournal (83)
- # off-topic (6)
- # pathom (3)
- # polylith (19)
- # re-frame (8)
- # reagent (2)
- # reveal (3)
- # shadow-cljs (54)
- # sql (9)
- # testing (11)
- # tools-deps (15)
- # xtdb (14)
Left field question: I want to use a re-frame app as a component in another react (not cljs but typescript) app. Is there a known way to do this? i.e. something like the reagent adapt fn but for a root re-frame app
this is for dev tooling for an external contractor using typescript and storybook. I want to provide a re-frame app that he can run in storybook as a component with props etc
I’m thinking I just need the normal startup events in a component-did-mount fn and that should be enough. I’ll report back here with results but would appreciate any experience from others
ok, I can confirm it’s possible to start re-frame from the component-did-mount fn. looks like this will work as long as I can export using shadow to a format that typescript will understand
Hi there, is there a general rule for when to use reg-sub-raw
over reg-sub
?
When reg-sub
is insufficient. reg-sub
is just a higher-level API, that's all. Well, and it has tracing, but that shouldn't be the reason to choose reg-sub-raw
over it.
thanks!
opened an enhancement issue about a not-a-bug that i just tripped over: https://github.com/day8/re-frame/issues/750