Active-CSS / active-css

The epic event-driven browser language for UI with functionality in one-liner CSS. Over 100 incredible CSS commands for DOM manipulation, ajax, reactive variables, single-page application routing, and lots more. Could CSS be the JavaScript framework of the future?
https://activecss.org
Other
42 stars 7 forks source link

Possible problem with the observe event. #212

Closed bob2517 closed 2 years ago

bob2517 commented 2 years ago

There's something weird going on with a scenario using the observe event, and I'm creating this issue in case anyone else stumbles onto it.

If your browser hangs, and it's not because you've "intentionally" set up an infinite loop, please bear with me while I fix this. It should be fixed in the next day.

bob2517 commented 2 years ago

I think I've fixed it. It was getting into an infinite loop due to mutations related to temporary attribute settings from the core. Might even get a slight speed improvement. Will have a commit done shortly. I've got something on the docs site to fix for the bug fix release though first, just to make sure it's not related.

bob2517 commented 2 years ago

There is a fix for this on the 2.9.1 branch. I'm going to do a few more disrelated tests to make sure there isn't something else broken before release. It will get officially released tomorrow. Meanwhile you can find the fix for this specifically here:

https://github.com/Active-CSS/active-css/tree/2.9.1/dist/v-2-9-1

bob2517 commented 2 years ago

Live on 2.9.1. Will update docs and get npm versions published then close this issue.

bob2517 commented 2 years ago

All live. Closing.