Fork me on GitHub
#cljsrn
<
2020-02-25
>
dotemacs16:02:56

TIL about re-frame-steroid & rn-shadow-steroid, thanks

🙌 4
Kai07:03:04

I’ve tried following that tutorial and have tried following the usage in https://github.com/flexsurfer/rn-shadow-steroid too, but I haven’t been able to get the hot reload with shadow-cljs working. Any suggestions on how to get it working?

andre14:03:00

hey, make sure you have `

:devtools   {:autoload true
                              :after-load steroid.rn.core/reload}
in your shadow edn

Kai12:03:07

I checked, but it was already there. The rest of the file was the same too. After successfully running the project source from GitHub and comparing the files, I found that it was the shadow-cljs dev dependency causing the issues. Removing it from my package.json resulted in the hot reload working correctly. Is yarn add --dev shadow-cljs actually needed in https://hackmd.io/@byc70E6fQy67hPMN0WM9_A/rJilnJxE8#2-Add-shadow-cljs?

andre15:03:56

probably it's not needed in this example