Fork me on GitHub

Good morning, all! I’m starting a new re-frame project (because I’m utterly in love it, after using it on a previous project), and chose to begin it with lein new re-frame test. And surprisingly, when started with lein figwheel, nothing renders in Chrome — it does, however render with Safari. In Chrome, there’s an error on in the console: “Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help…” Here’s a screenshot — any hints? Thanks in advance!!!!


Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help,


That seems to be just a warning, shouldn’t be preventing your app from rendering


@manutter51 — renders in Safari, nothing renders in Chrome… Hmmm… (Your expression in your picture is exactly the expression I’m making right now. :)


Yeah, it looks odd. You don’t have any ad-blocker software in Chrome, do you?


…thanks for noting that it’s not a fatal Chrome error… but… trying to figure out how to get something running… maybe going back to older version of re-frame/cljs/reagent, that I used in a previous project? (No ad blockers, either…)


I’m running a re-frame app right now in Chrome (v.63.0.3239.84) and I’m not getting what you’re getting.


Seems to me I have seen that warning message before.


OMG. Just repeated all the steps from a different laptop, and it now works in Chrome, as it’s supposed to … Existential dread as I ponder “what in the world is different about the first laptop? Browser? Lein? Clojure? Dependencies?” Any advice on how to wipe the slate as clean as possible?


Do you have the cache turned off in Dev Tools?


…ooh… promising!!!! I’ll check! Thank you!!!!


@manutter51 Thank you so much! That worked!!! (I right-clicked Reload, and did Hard Reload and Empty Cache.) On the one hand, I’m so elated and relieved that it worked. On the other hand, I feel a bit of despair that I understand so little about the browser — do you recommend turning off caching entirely?


Or in other words, it only disables the cache when you have Dev Tools open.


That’s really awesome, @manutter51 — I think sacrificing speed is a small price to pay to reduce frequencies of utter bewilderment I felt 1 hour ago!!! 🙂 Thanks again!!!!


(Seriously, of all the things I set out to work on this morning, fiddling with the browser was NOT one of them! :)


Heh, I’ve been there.


What’s worse is when you know about disabling the cache, you always disable the cache, but you forgot you’re on a different laptop now and you never actually checked the little checkbox on this one facepalm


not that I’m speaking from experience or anything…