You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
here. unload styles in ngOnDestroy <-- feature request
Desired functionality
Unload bundle styles, loaded by lazy load global styles.
For example we can set unique id on style element in DOM, and if you want, unload it by bundle name or unique id.
It may be helpful in case: lazy load module have global style imports from css libraries (bundled from node_modules), but if you will navigate to another route with another module --> styles from first can conflict with second
The text was updated successfully, but these errors were encountered:
Bug Report or Feature Request (mark with an
x
)Versions
Windows (7/8/10).
Repro steps
Desired functionality
Unload bundle styles, loaded by lazy load global styles.
For example we can set unique id on style element in DOM, and if you want, unload it by bundle name or unique id.
It may be helpful in case: lazy load module have global style imports from css libraries (bundled from node_modules), but if you will navigate to another route with another module --> styles from first can conflict with second
The text was updated successfully, but these errors were encountered: