-
Couldn't load subscription status.
- Fork 33
Description
Since updating reflex-examples to use Obelisk to run/build the examples, it looks like the examples have stopped working on Firefox.
The last commit I could find that works on Firefox is fc13182. The next few commits after that change over to use Obelisk (5825358, d18bc83, db4673f, etc). The examples stop working in Firefox at this time.
The current master also seems to be broken in Firefox.
Here's what I'm trying to do and what happens:
-
Run
ob runin order to run the examples. Eventually it saysFrontend running on http://localhost:8000/on the console. -
I open http://localhost:8000 in Firefox. This displays a page that looks just like https://examples.reflex-frp.org/.
-
However, in my terminal, I get the following message:
Error : Unexpected Duplicate. syncCallbacks=True nBatch=2 nExpected=4Note that this is in the console where I've run
ob run(not Firefox's Javascript console).Sometimes I get this message immediately. Sometimes it only shows up after clicking
Basic To Do List. Sometimes I am able to successfully click theBasic To Do Listlink without seeing the error. A similar thing happens if I just immediately go to http://localhost:8000/examples/basictodo and try to enter text. -
I don't see any errors in the browser console.
-
At this point the browser becomes unresponsive and no links respond to click. I can't do anything here.
I also tried running nix-build and opening ./result/ghcjs/frontend/bin/frontend.jsexe/index.html directly in Firefox, but nothing shows on the screen.
Pinging @dfordivam.
However, for some reason I don't seem to have any problem with the https://examples.reflex-frp.org site, so I'm not sure what is going on here.