cljsrn

2022-09-06T04:24:05.008949Z

hows the state of cljsrn in 2022

👀 1
Shako Farhad 2022-09-30T12:33:31.225879Z

I used both Krell and Shadow-cljs. Both worked. In Krell I could not import default libraries like with Reanimated 3, but what I could do is to create a typescript file, import reanimated there and then use the normal (js/require "...") function to import the typesript file and use reanimated through that.

Shako Farhad 2022-09-30T12:35:10.487329Z

I would say shadow-cljs is better with allowing you to use such libraries directly in cljs, but Krell is really lightweight and easy to get started with. And if you like to work in both typescript / jsx and cljs at the same time, then there are no restrictions.

Shako Farhad 2022-09-14T18:11:23.987039Z

It works great. I setup an app using latest react native with fabric activated. Imported node modules easily and even imported custom typescript code and used it without issue in cljs. Interop and everything works. Reanimated 3 and many other libraries work out of the box. I could probably never do RN development without cljs again. 😄

👍 1
alwx 2022-09-29T20:33:09.489229Z

@shakof91 which setup did you use? I tried it with Krell on iOS today and got this:

alwx 2022-09-29T20:34:13.013359Z

(obviously MacOS, Apple M1, React Native 0.70.1)