summaryrefslogtreecommitdiff
path: root/symbol
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2018-07-13 10:57:20 +0100
committerSean McGivern <sean@gitlab.com>2018-07-13 11:25:40 +0100
commit8e1a8deee39fae94f43ef0c974e56abf23e5b4b3 (patch)
treef2b8f48ebea7f27394c969fe824b13b740075c3e /symbol
parentf4e60c26298ac39ecb35dc6449323e8d65383d34 (diff)
downloadgitlab-ce-48673-lazy-load-performance-bar-in-frontend.tar.gz
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.
Diffstat (limited to 'symbol')
0 files changed, 0 insertions, 0 deletions