I’m wondering what are the typical pitfalls when developing cljs projects and using core.async and promises; I just spent a few hours trying to figure out why my project (which worked before) was suddenly returning errors from a core.async go block. I tried another browser and it worked, so I’m guessing it had something to do with how Firefox was caching things?
After a lot of restarts/refreshes and clearing of browser data, I managed to get it to enough of a clean slate to work again without changing any code, but without really understanding what happened. I’d appreciate any general advice on what can commonly go wrong and how to manage it in the future.
Is it possible that what experienced might be due to a browser caching issue? I’ve never experienced any cross-browser issues with core.async, but that doesn’t mean to say there aren’t any. Do you still have the code that was giving you issues?
I’ve used core.async a lot by itself in the browser, but not with promises, so sadly I can’t help you with that aspect of it. My best guess is what you yourself have surmised, that it’s a browser caching issue, with older code that was failing not being updated.