gitlab-org--gitlab-foss/spec/javascripts/performance_bar
Sean McGivern 8e1a8deee3 Lazy-load performance bar UI
We need to eagerly load the performance bar wrapper component
(`performance_bar/index.js`) when the page is loaded and the container element
is present, to ensure that we register the interceptor early enough in the
page's lifecycle.

However, we don't need to load the UI at that point. Not doing so means that we
can let Webpack extract the UI (`performance_bar/components/*`) into its own
chunk, so users who don't see the performance bar don't have to load too much
unnecessary JavaScript.
2018-07-13 11:25:40 +01:00
..
components Lazy-load performance bar UI 2018-07-13 11:25:40 +01:00
index_spec.js Lazy-load performance bar UI 2018-07-13 11:25:40 +01:00