webark/ember-component-css

Load CSS lazily / unload it after no longer used

Open

#23 opened on Apr 13, 2015

View on GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (112 forks)github user discovery
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?

Contributor guide