This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-01-07
Channels
- # adventofcode (4)
- # aleph (1)
- # architecture (9)
- # beginners (67)
- # boot (7)
- # boot-dev (12)
- # cider (3)
- # clojure (166)
- # clojure-austin (3)
- # clojure-estonia (1)
- # clojure-greece (2)
- # clojure-russia (5)
- # clojure-spec (1)
- # clojure-uk (4)
- # clojurescript (19)
- # cursive (1)
- # data-science (5)
- # datascript (4)
- # datomic (3)
- # docs (10)
- # emacs (24)
- # events (4)
- # fulcro (16)
- # graphql (8)
- # hoplon (2)
- # jobs-discuss (1)
- # leiningen (5)
- # off-topic (2)
- # planck (30)
- # re-frame (20)
- # reagent (36)
- # ring (3)
- # shadow-cljs (5)
- # spacemacs (1)
- # specter (2)
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?
@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
not that I’m speaking from experience or anything…