cljsrn

https://github.com/drapanjanas/re-natal | https://github.com/drapanjanas/re-natal/wiki/FAQ | https://github.com/condense/mercury-app/wiki | https://github.com/seantempesta/expo-cljs-template/ https://www.npmjs.com/package/create-expo-cljs-app
joshmiller 2020-05-14T15:03:58.102300Z

If you need to do Sign In With Apple on iOS, I put together a CLJS library for doing so that rewraps the native bindings: https://github.com/joshuamiller/rn-cljs-apple-authentication

šŸ‘ 4
šŸ¦œ 1
dnolen 2020-05-14T15:30:45.103100Z

@joshmiller nice, it's great to see reusable libs for RN!

dnolen 2020-05-14T17:08:23.104100Z

fixed up some more ugly Krell Android bugs, also if you combine -c -r the REPL will now know about everything that was part of the build so direct use of in-ns works

2020-05-14T20:50:04.111300Z

I am trying to use an npm module with Krell which is exported in ES6 format export default Bluetoothserial; How am i supposed to require that Object? with re-natal i did it like this: (def Bts (.-default (js/require "react-native-bluetooth-serial-next"))) but this does not seem to work with Krell. If i (:require [react-native-bluetooth-serial-next :as bts]) and then try to access it bts/default i get nil back. And thx for the nice work with Krell

dnolen 2020-05-14T21:17:12.111900Z

check the generated source, you probably need to set :language-out to :es6

dnolen 2020-05-14T21:17:30.112400Z

will probably add that at some point but busy fixing the bigger isseus

joshmiller 2020-05-14T22:31:28.114Z

With the latest Krell master, a bare test project based on the tutorial on the wiki is pegging the JVM at 100% of one core while connected to the REPL.

joshmiller 2020-05-14T22:31:45.114500Z

(No emacs/nrepl/anything else, just clj -m krell.repl -co build.edn -c -r)

joshmiller 2020-05-14T22:32:17.115100Z

Discovered on my actual project, then verified on the bare project.

joshmiller 2020-05-14T22:35:40.115500Z

Anybody else? Iā€™m looking to see if I can profile it.

Oliver George 2020-05-14T22:46:20.116200Z

Yep, I see the java process sitting on 100% on my mac. Test done with reagent-tutorial and latest commit sha

Oliver George 2020-05-14T22:48:26.116500Z

Same with krell sha from tutorial.

Oliver George 2020-05-14T22:49:21.117Z

Given that it's using 1 of 8 cores I hadn't noticed.