Fork me on GitHub
#reagent
<
2019-07-28
>
roti11:07:58

I'm having problems getting figwheel to autoload my code. the re-rendering happens (I set up a figwheel hook, which works), but the new component version is not active, the old one is still references and used. any suggestions how I might get to the bottom of this?

roti11:07:44

roughly the setup is following: the root component is app, is uses another component foo. when inside the figwheel dev repl, I change component foo, figwheel loads it automatically, and it is available (if I have a look at it inside the repl). however, app still references the old foo. strangely, figwheel says it loads the namespace where app is, but somehow app has a reference to the old foo

roti12:07:06

nevermind, I found the problem, there was a defonce in between the referencing from app to foo 😋