Fixed
Details
Assignee
Antranig BasmanAntranig BasmanReporter
Antranig BasmanAntranig BasmanComponents
Fix versions
Priority
Major
Details
Details
Assignee
Antranig Basman
Antranig BasmanReporter
Antranig Basman
Antranig BasmanComponents
Fix versions
Priority
Created September 9, 2021 at 12:14 PM
Updated June 30, 2022 at 1:17 PM
Resolved September 9, 2021 at 12:14 PM
Related JIRAs are and , but the "integral binding" facility which forms part of the "new renderer" originally written up at (although the blueprint for what the "new renderer" is has changed a fair amount since that writeup) - but the core feature by which model material may be directly lensed onto materialised DOM state has not been written up separately before.
As an example from the rewritten Switch demo in the in-progress "new-renderer-demo" branch at https://github.com/amb26/new-renderer-demo/blob/FLUID-5047/demos/switch/js/SwitchDemo.js#L55-L60 , there's the possibility, for example, to express a direct relay from a boolean value onto the presence or absence of a particular CSS class as
or a relay from a boolean flag via an indirecting function snippet onto some DOM text as
This facility, together with the "lensed component system" for , and the "workflow system" in FLUID-6148 are the key framework supports that constitute the "new renderer". The final part of the functionality, which represents the "antigenic" portion of which identifies all participating renderer components, locates and weaves together their markup templates during instantiation is what is currently outside the framework for Infusion 4.x in the https://github.com/amb26/new-renderer-demo/blob/FLUID-5047 branch, which will be brought into the framework for Infusion 5.x when the old renderer is finally deprecated and removed.