PEZ / rn-rf-shadow

An example project to get you started with React Native using shadow-cljs in 3 minutes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shadow-cljs hot reload don't work properly

prestancedesign opened this issue · comments

Hi,

In the README, we can see :

In the Expo settings for your app (shake or force touch with two fingers), disable Live Reloadinhg and Hot Reloading. (Don't worry, shadow-cljs will take care of hot reloading for you, in the most beautiful way.)

Unfortunately this doesn't work well for my test.
It's only works when I edit the main CLJS file but it's stop working for required components on root and/or subdirectories like components/hello.cljs, etc.

Shadow-cljs hot reload works very well for my Reagent web project.
Anybody know why that bug for React Native/Expo project ?

Best regards.
Mike

That's strange. It used to work for required components.

That's strange. It used to work for required components.

Yesterday, I tried the same project with re-natal and figwheel handle perfectly the hot reloading for all my components.
I will retry on fresh clone rn-rf-shadow. ;)

I close this issue, @thheller had given more information about this behavior : thheller/shadow-cljs#544 (comment)