Pretty minor problem (really impressive code btw!) - when a Component with the styles property is set is reloaded, maybe only when view encapsulation is turned off, it will append a <style> tag to the header. The bug is that the old <style> tag is not deleted, so you'll get for n reloads, n+1 duplicate style tags.
Solution I think (maybe a cludgy one) would be to check the "style" tags added by the component and delete them before reloading.
Pretty minor problem (really impressive code btw!) - when a Component with the
styles
property is set is reloaded, maybe only when view encapsulation is turned off, it will append a<style>
tag to the header. The bug is that the old<style>
tag is not deleted, so you'll get forn
reloads,n+1
duplicate style tags.Solution I think (maybe a cludgy one) would be to check the "style" tags added by the component and delete them before reloading.