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

Rendering multiple items to same container causing barfage #100

Closed bob2517 closed 3 years ago

bob2517 commented 3 years ago

The implementation for the rendering of child elements using ${CHILDREN} is not working correctly causing an error in some scenarios, particularly when running multiple render commands on the same target selector with multiple components.

This is fixed on the 2.4.3 branch which I'm about to commit.

There will be a fix to the var command today also for something that was recently discovered with regards array handling, and hopefully I'll get a new release out today which addresses those two points.

bob2517 commented 3 years ago

The fix is on the 2.4.3 branch. There should be a minor performance improvement compared to 2.4.2 on pages with a lot of rendering.

bob2517 commented 3 years ago

Still an issue with this. Re-opening.

bob2517 commented 3 years ago

This fix is now committed to 2.4.3 branch. I've limited use of {$CHILDREN} to custom element components only and made this clear in the docs. There's too much going on with component handling to make it a general feature and this covers practical use cases per native technology.

bob2517 commented 3 years ago

Live, closing.