Fork me on GitHub
#cljsrn
<
2021-07-24
>
Carlo11:07:25

morning, I was following this guide https://github.com/PEZ/rn-rf-shadow to get started with rn on clojure, and I have a question: if I try to add some invalid code, like:

[:> rn/Button {}]
I'll get an error message on the emulator, but it doesn't go away when I fix the issue (I disabled rn's hot reload to use just shadow's one. What am I missing?

pez13:07:06

You might have compile errors. Do you see anything in shadow's watch output?

Carlo13:07:23

@U0ETXRFEW I can see nothing suspicious on . Should I look elsewhere? I have errors in the emulator as well as in the Expo window

pez14:07:10

I usually look where the watcher is started.

Carlo15:07:20

I don't have any error there I think. I managed to solve this error hitting r on the metro console, but that doesn't always work

Carlo15:07:50

ok I discovered I can consistently recover from the error if I hit r r (double-tap) when I'm in the android simulator

Carlo15:07:21

but then I erase all the data. I hoped I could maintain the state as I recover from the errors. Is this normal?

pez16:07:55

It depends on the type of error.