Fork me on GitHub

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?


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


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