Fork me on GitHub
#cljsrn
<
2021-09-21
>
Chris Bidler03:09:24

No questions or problems, just want to take a moment to publicly sing the praises of shadow-cljs for RN development. I have successfully taken a production codebase from a Boot-driven workflow on ejected ExpoKit SDK36, to a shadow-driven, bare workflow, running on Expo SDK 42 in like two weeks, by myself. Getting a new project up and running to the point that I could copy our code and assets into place and build (this is, by the by, the officially documented way to upgrade from an old ExpoKit project to the “new” bare workflow) was so straightforward it was difficult to believe. Now, working through the breaking changes to various RN ecosystem APIs between RN 0.59 and today is, I can’t honestly say that work is a delight but at least using the REPL and the build system is easy and reliable and gets out of my way. Thanks so much, @thheller et. al!

🙌 10
❤️ 10
🦾 8
cljs 10
lepistane05:09:24

there is #gratitude where u could share your appreciation as well 😄

2
dnolen12:09:17

@brandon.ringe separate repo, you do not need to publish - Git deps are thing in Node.js - though way less fun than Clojure tools deps

bringe16:09:38

Ah, thanks!

bringe16:09:33

How do you build your library for consumption by the app? I’m currently using react-native-builder-bob to compile the component code to commonjs, partly because requiring the source itself doesn’t seem to work well, at least with shadow-cljs. I know you’re using krell, though. Maybe you’re able to just use the source as-is?

dnolen12:09:47

in Clojure it s easy to flip between local (via alias) and git (as the real dep)

metehan19:09:08

Failed to load class org.slf4j.impl.StaticLoggerBinde is this error normal when I run clj -M -m krell.main -co build.edn -c -r the app works normally but I don't know how to solve this error and if it's something necessary to solve

joshmiller20:09:21

@m373h4n That’s normal (and present in a lot of libraries). It’s just not finding a Log4J adapter that you might use to redirect log output somewhere.

joshmiller20:09:38

You can add a dep for it if you want, or you can just ignore it.

🙏 2
metehan02:09:22

I started several projects and followed same steps sometimes I got this issue sometimes not totally randomly happening

metehan02:09:21

Sometimes waiting and running same command helps sometimes not. But after I try average 5-6 times it's working normally.

Aquati02:02:05

Same here... any luck? 😕