Fork me on GitHub
#cljsrn
<
2018-06-03
>
carocad10:06:44

hey guys, does somebody here have any experience with extern inference on the wild? I know that there are some externs for react native but I mean, experience with using only extern inference for releasing a cljs app

mfikes13:06:52

I've tried using it, but moved back to regular explicit externs files because I was having problems with defrecords IIRC.

mfikes13:06:22

(My problem surrounding defrecord involved the externs stuff triggering and I couldn't figure out a way to make it happy)

pesterhazy14:06:11

another option is to use goog.object/get and goog.object/getValueByKeys when interacting with React components

carocad16:06:25

@pesterhazy I am currently trying out cljs-oops. However from what I can understand that library doesnt really solve the problem it just works around it. On the other hand AFAIK the extern inference feature is suppose to solve the externs problems right?

carocad16:06:46

@mfikes is there a jira issue on it? maybe I can avoid falling into the trap 😅

mfikes17:06:58

@carocad No, I didn't file an issue. I see if I can reproduce it and file one.