This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-08-02
Channels
- # announcements (2)
- # babashka (16)
- # beginners (48)
- # biff (5)
- # calva (21)
- # cider (9)
- # clerk (24)
- # clj-kondo (43)
- # clj-otel (3)
- # clj-yaml (44)
- # cljdoc (13)
- # cljs-dev (2)
- # cljsrn (7)
- # clojure (39)
- # clojure-dev (21)
- # clojure-europe (18)
- # clojure-hamburg (1)
- # clojure-losangeles (1)
- # clojure-norway (24)
- # clojure-sweden (4)
- # core-typed (3)
- # cursive (7)
- # data-science (10)
- # datalevin (7)
- # datomic (49)
- # emacs (7)
- # events (2)
- # graalvm (7)
- # hyperfiddle (56)
- # integrant (10)
- # jobs-discuss (29)
- # leiningen (27)
- # lsp (12)
- # malli (3)
- # off-topic (13)
- # polylith (18)
- # reagent (13)
- # sci (49)
- # shadow-cljs (94)
- # sql (3)
- # squint (2)
- # vscode (5)
- # xtdb (17)
I am running into days of trouble getting started with Krell and React native. I am currently stuck trying to import components from a JavaScript file and getting that the output of the js/require statement is nil (which sometimes destroys my entire repl connection and I have to restart it). I verified that the path is correct - I am just trying to construct the setup of the Krell demo video which is unfortunately not accompanied by an example repo. Is there anyone who is available to help get this setup? It's been quite a nightmare frankly
Hi. I was trying to use Krell + Storybook as well but at some point I started from scratch in another repo to make Storybook + clojurescript (with shadow-cljs) work first and then go back to include Krell in that repo. I saw your previous comment and decided to push it to github and share the repo with you and maybe it can help you because I feel your pain too. This is the repo: https://github.com/yalayo/storybook-cljs-example and maybe we can get into a call and try to make it work together.
Amazing, thank you! I’ll give it a try this evening when I get back to my cljs work
@U05D3EAA6FM Note the last sentence here about the path for your JS components: https://github.com/joshuamiller/react-native-template-cljs-krell-storybook#workflow
It’s not well-documented in Krell, but the path is from the CLJS compilation working directory, not wherever in your source hierarchy you’re requiring that specific JS