mrozbarry / hyperapp-debug

A debug HOA for hyperapp
MIT License
12 stars 0 forks source link

Subscriptions not displaying in Chrome #16

Open mrozbarry opened 4 years ago

mrozbarry commented 4 years ago

In Firefox, I get the proper events:

Screen Shot 2019-11-19 at 8 38 00 AM

In Chrome, I'm missing the toggle, and the subscription doesn't show up at all:

Screen Shot 2019-11-19 at 8 38 41 AM

The app itself does all the expected updating.

I've had some previous issues with chrome doing some strange caching of extensions that I don't fully understand, and wouldn't mind another opinion.

Here's the chrome build I'm using:

hyperapp-debug-dev-tools-chrome-unsigned.zip

And an easy place to test the extension is https://mrbarry.com/test-bed

mrozbarry commented 4 years ago

From slack: https://hyperapp.slack.com/archives/C41ECC0V6/p1574174995123300?thread_ts=1574170976.123200&cid=C41ECC0V6

Sorry, I’m not familiar at all with extension development. But could it be something about timing issues? At least I’ve noticed chrome and safari behave differently wrt rAF and setTimeout(…,0) I don’t know how that might help, if at all though. Maybe try a different version of chrome? Try hacking hyperapp to use setTimeout instead of requestAnimationFrame to defer, and see if that makes a difference?