I wrote up the Hermes engine situation and how to fix it, so now hopefully that info isn’t siloed on Slack: https://increasinglyfunctional.com/2024/08/19/clojurescript-react-native-hermes.html
Hi @joshmiller. Thanks for the write-up! I discovered something. I am trying to use com.taoensso/telemere and everything compiles, but when I invoke the REPL and then require the library, it causes Krell to recompile everything and put the ! back in the log file.
I would like to help with troubleshooting the Krell + CLJS compiler issue. Please tell me where to start.
So the issue now is that we can’t just require a Closure snapshot because the latest CLJS on Krell isn’t transpiling some Closure library sources. I am not sure why that is.
Ok. I’ll try to look into it.
May end up being a moot point soon
Indeed.
Hi @joshmiller. I think I discovered the problem in the CLJS compiler — the files not being transpiled are marked :es8 that is not supported in the closure.clj/lang-level def. I am going to test this now…
:es8 is :ecmascript2017
That fixes it!
Nice! So did you have to patch cljs to add that?
Yes.
I submitted a bug to the Clojure Q&A as per the guildelines.