NoDivide / astrum

A lightweight pattern library designed to be included with any web project.
http://astrum.nodividestudio.com
1.54k stars 98 forks source link

Only load HTML necessary for selected "group" #132

Open tigerclaw-az opened 7 years ago

tigerclaw-az commented 7 years ago

Tell us about the issue you are experiencing

ALL of the HTML for EVERY component is loaded on the main index.html page.

What behaviour would you expect?

Only the HTML associated to the components for the selected "group" should be displayed. We have hundreds of different component examples and having everything on a single page causes it to run very slowly.

How can this issue be replicated?

Build out hundreds of components that have different styling and JavaScript behavior.

Your environment

Platform: OSX OS Version: 10.12.2 Node Version: v6.11.1 NPM Version: 5.0.3 Astrum Version: 1.9.5

Andy-set-studio commented 7 years ago

Hey @ejwaibel,

Thanks for reaching out!

We're currently discussing how we can speed things up in this sort of context, so I've made a note to keep you informed when we know a bit more about how we're planning to tackle it.