Closed mydea closed 6 years ago
I removed the extra function in the instance initializer and moved the comments down!
I adjusted the import paths for the head-layout component according to your suggestions :)
Could we get a new release with that fix? That would be great!
So sorry @mydea, I completely lost track of this! It has been released as 0.4.1...
This PR does two main things:
Basically, in lazy loading engines, the instance initializer will run whenever another engine is entered, thus trashing the head.
This PR changes this, so that the head is trashed in the
init()
hook of thehead-layout
component. In addition to fixing this issue, it should also make it much easier to overwrite/adapt this behavior for special requirements.