Changes the loading strategy algorithm to include a logical expression parser.
Previously, you combined strategies with AND using | and more advanced functionality required utilising events.
Now, you can set strategies that use && as AND, and || as OR which can be combined and grouped with brackets.
For example this example would load when a component is visible AND it has either received and event OR meets a certain media query:
Changes the loading strategy algorithm to include a logical expression parser.
Previously, you combined strategies with AND using
|
and more advanced functionality required utilising events. Now, you can set strategies that use&&
as AND, and||
as OR which can be combined and grouped with brackets.For example this example would load when a component is visible AND it has either received and event OR meets a certain media query:
Note that the previous single pipe still works and is converted to
&&
to maintain backwards-compatibility with version 1.Remaining work to do for this release: