Releases: fboeller/ngx-elements-router
Releases · fboeller/ngx-elements-router
0.1.2 - Angular >= 10.2.0
[0.1.2] - 2020-01-26
Added
- The package is now usable with Angular peer dependencies >=10.2.0 (before ~10.2.0). It is now build with 11.1.0 and is tested both with 10.2.0 and 11.1.0.
Fixed
- The location strategy now prepends the base href to external urls such that a click on a link via middle mouse button opens a new tab with the correct url
0.1.1 - Zone.js directive and service
When both the platform and the micro frontend rely on Zone.js to trigger their change detection, then they compete for the microtask empty triggers on the window.Zone object.
To mitigate this problem, the ngx-elements-router now contains a ZoneDirective
and a ZoneEntryService
.
The directive can be applied to the host component in the platform and passes microtask empty events from the platform to the micro frontend.
The service can be applied to the Angular component representing the custom element in the micro frontend and listens for the microtask empty events passed from the platform to trigger a change detection cycle.