Fork me on GitHub
#cljsrn
<
2023-03-24
>
hadils22:03:29

Hi! I am using React Native 0.71 with Expo 48 and Krell. I would like to use Hermes as my jsEngine, so I set :language-out to :es5 in my build.edn file. Unfortunately, it is generating exclamation points in variable names in the output JS code. Can anyone suggest a solution to this problem? Thanks in advance!

dmitryn20:03:24

Do you mean that (def foo! 1) compiles to foo! = (1); but not to foo_BANG_ = (1); ? I'm using :output-feature-set :es5 to compile hermes-compatible JS, but using shadow-cljs for that, not krell, and it works well

hadils20:03:34

Thanks, @U051091NM. No, I mean that the Clojurescript compiler outputs JS names that contain an exclamation, for path resolution.

Miguel Angel Gallardo Lemus04:05:31

could you share some instrucctiosn to start a rn project with krell?