webark/ember-component-css
View on GitHubLoad CSS lazily / unload it after no longer used
Open
#23 opened on Apr 13, 2015
help wanted
Repository metrics
- Stars
- (536 stars)
- PR merge metrics
- (PR metrics pending)
Description
We should have an option that allows the addon to dynamically require/load the CSS the first time a component is instantiated and potentially also unload it after every instance of it is removed. This will help prevent leakage and might even have some performance benefits?